News for hackers. Stuff that matters.
Re:It is not possible to detect and block Chrome headless by nybble41 on Thursday January 18, 2018 @04:12PM (#16181504)
Regarding YouTube in particular, I tend to open up videos in background tabs for later viewing and find it very annoying that they start playing automatically before I get around to that tab. I did go there to watch the video—eventually. Just not the second that the page finishes loading.

YMMV. A persistent setting to enable or disable auto-play would be ideal.

Re:It is not possible to detect and block Chrome headless by JeremyBanks on Thursday January 18, 2018 @05:45PM (#16182339)
Chrome doesn't autoplay videos in background tabs until you focus them.
Re:It is not possible to detect and block Chrome headless by nybble41 on Friday January 19, 2018 @02:58PM (#16189252)
Actually it doesn't even seem to load most of the page in a background tab until it's focused... which is also annoying. (Or perhaps it's just the parts hidden behind 'onload' JavaScript, which these days is most of the page content.) Part of the reason for opening the tab in the background is getting the lengthy loading process out of the way while I'm reading something else.

For this reason I tend to activate the tab and then go back to what I was doing before... and then the video auto-plays.

Re:It is not possible to detect and block Chrome headless by Whitestrake on Thursday January 18, 2018 @07:04PM (#16182849)
Firefox likewise has toggles for disabling autoplay in background tabs (on by default) and disabling autoplay completely (off by default).