6 ms·
This sounds like case of bad default settings. AFAICT users were previously able to turn off autoplay in the settings. For Firefox, about:config then media.au
by 3xblah 8y ago
This sounds like case of bad default settings. AFAICT users were previously able to turn off autoplay in the settings.
For Firefox, about:config then media.autoplay.default and set to 1.
For Chrome, chrome://flags#autoplay-policy and select "Document user activation required".
But there is an even simpler way
"... when you're just trying to read an article."
If reading is all you are trying to do, then there is probably no need for Javascript to be enabled for that particular website.
(Nor do you need images enabled, if all you are doing is reading.)
Firefox "reader mode" might be one alternative.
Another is to disable Javascript for that particular website in the Firefox settings.
Aside from Adobe Macromedia Flash, are there any examples of autoplay video that do not rely on Javascript being enabled?
If you turn off Javascript (and Flash), then you also turn off autoplay.
That has been my experience.
- Nadya 8y agoThe HTML5 video element has an `autoplay` attribute that does not require Javascript to my knowledge. Also, a depressingly large and increasing number of websites are actually not readable if you disable Javascript. [0] There are also some sites where users usually want the video to autoplay, where the primary purpose of the site is watching videos (eg. Youtube, Niconico Douga, Vimeo) so disabling it as a default is more annoying than beneficial because it would also break it for those sites. [0] Source: I browse with JS disabled.
- 3xblah 8y agoIn my experience disbaling Javascript and Flash will stop autoplay. If you have examples, please share as I would like to test. Can you point me toward me some of the depressingly large examples of websites that require Javascript in order to read text? I would like to test. On the contrary, I have found a very large number of websites that do not require Javascript to read text. Of course our browsing habits are probably different. What I sometimes see is small amounts of text that are "hidden" by Javascript, perhaps to conserve screen space. For example, a click event "unhides" the text. One can view easily view the "hidden", plain text in the source of the page. I have not seen entire articles hidden this way. As for YouTube, it can be whitelisted in browser settings if the user wants autoplay. Does YouTube rely on Javascript or HTML5 for autoplay? Can one test reliably (not simply by user-agent string) whether a user's browser supports HTML5 autoplay without using Javascript to perform the test? It seems like using Javascript for autoplay would be the safer bet for a website that wants to be sure videos will autoplay. One thing I notice is that although disabling Javascript might stop autoplay, HTML5 can still force autoload, downloading the entire video even if the user has no intention of ever playing it. That could be a problem for a user wanting to minimise her data usage.
- Nadya 8y agoIf a website makes heavy use of a JS framework like Vue/React/Angular and does client-side rendering as opposed to server-side rendering, as an increasing number of sites do, then you run into issues. This isn't all that uncommon when checking out websites here on HN, both as submissions and within comments. I don't keep a running list of sites I'm not able to visit as that's a rather pointless list to maintain. I do encounter them frequently while browsing HN. So I did a search on HN for "blank when javascript is disabled" and you'll get a number of results. Here's the first few I came across: - http://isfiberreadyyet.com/ http://isfiberreadyyet.com/ - From: https://news.ycombinator.com/item?id=14145881 https://news.ycombinator.com/item?id=14145881 - https://zencastr.com/ https://zencastr.com/ - From: https://news.ycombinator.com/item?id=12065622 https://news.ycombinator.com/item?id=12065622 - https://belowthesurface.amsterdam/en/vondsten https://belowthesurface.amsterdam/en/vondsten - From: https://news.ycombinator.com/item?id=17439832 https://news.ycombinator.com/item?id=17439832 - https://blog.stgolabs.net/2018/03/linux-v415-performance-goodies.html https://blog.stgolabs.net/2018/03/linux-v415-performance-goo... - From: https://news.ycombinator.com/item?id=16659360 https://news.ycombinator.com/item?id=16659360 - https://pricehipster.com/ https://pricehipster.com/ - From: https://news.ycombinator.com/item?id=17467204 https://news.ycombinator.com/item?id=17467204 You also can't sign into a Google account anymore [0]. Though to be fair if you're someone browsing with Javascript disabled you're probably not using Google and don't have a Google account to sign into. I frequently browse only four websites. Three if you don't want to count my own. It's the sites I discover/find from these three websites where I encounter issues. HN is a frequent source of "this site has no content when JS disabled" and it's becoming increasingly more common since 2012-2013. Given how few people browse with Javascript disabled, many of these sites (rightfully IMO, even if annoyingly) file it into the "such a small amount of users it doesn't matter" cabinet. [0] https://security.googleblog.com/2018/10/announcing-some-security-treats-to.html https://security.googleblog.com/2018/10/announcing-some-secu...
- jazoom 8y agoI'm the creator of Price Hipster, which you linked to. It's not just that pretty much no one disables JavaScript. It's also that the website is very interactive and responsive and would have to be designed very differently to avoid JavaScript. Much more data would be consumed if every action resulted in a call to the server and a fully rendered page returned each time, and the website would be a lot less snappy and less nice to use.