6 ms·
There need to be more strict settings for autoplay, not only for video and audio, but for huge GIF files too. I'd put them under "energy saving" settings, as re
by butz 3y ago
There need to be more strict settings for autoplay, not only for video and audio, but for huge GIF files too. I'd put them under "energy saving" settings, as reduced network activity would benefit for server too, not to mention all CPU cycles saved for not decoding all media on client side. Autoplay activation triggers should be reviewed as well, as some sites will happily start autoplaying all media after scrolling down using main scrollbar. That's probably only me, but I still consider scrollbar a part of browsers chrome, not part of website. So interacting with it should not give any hints to website, at least where media autoplay is concerned.
- Semaphor 3y agoI wish gif’s adhered to prefers-reduced-motion and preferably only played on interaction. I use Toggle Animated Gifs [0], but it’s a global on/off switch, requires a reload, and doesn’t show a hint that something could be animated. [0]: https://github.com/M-Reimer/toggleanigif https://github.com/M-Reimer/toggleanigif
- mikae1 3y agoimage.animation_mode = none im about:config.
- Semaphor 3y agoDoesn’t that completely disable them, only without the convenience of a toggle?
- paulryanrogers 3y agoYes. You can also use 'once' to have them stop after first playthrough.
- Semaphor 3y agoYeah, but the extension is already offering that with more convenience. What I’m looking for is a better solution, as described in my post.
- antegamisou 3y agoThe worst thing is those websites that have some type of 2160p type of video autoplay as a background image, making it unbrowsable on cheaper hardware devices. But this is more a rant for modern webdev practices I'm not sure much can be done to circumvent it from a browser perspective.
- nine_k 3y agoBack when Opera was a worthy browser, around 2000, it had various bandwidth-saving and CPU-saving controls. In particular, it had buttons to prevent loading of large images, and IIRC for gif autoplay.
- palmfacehn 3y agoSend a HEAD request. If the file size is over the threshold, don't load it without user consent.
- cqqxo4zV46cp 3y agoA perfect idea for the people who almost certainly aren’t using “cheaper hardware devices”.
- rightbyte 3y agoI don't need any strict settings for autoplay. I don't need autoplay. Maybe there could be like a 2Mb cap on each page load that you'd manually had to extend the quota on. Most sites that need more are accidental visits anyway. That should work even if the site is user hostile.
- dylan604 3y agoHow would that cap work? Would the browser be expected to calculate the size of all elements by querying them all before loading anything? Would the browser just start downloading content counting bits as it goes, and then just stop when it reached 2Mb? What if the page was laid out in such a way that the JS includes were >2Mb? Just a second of though about the comment made would show so many issues with the idea, that maybe the idea isn't really a good one. At the least it would provide pause that maybe some sort of refinement is required to be taken seriously by anyone else.
- palmfacehn 3y agohttps://www.rfc-editor.org/rfc/rfc9110.html#name-head https://www.rfc-editor.org/rfc/rfc9110.html#name-head
- edflsafoiewq 3y agoWhat would happen if you yanked the ethernet cord after 2Mb transferred? Same thing. You can't precalculate the size since resources are added dynamically (and you can't trust HEAD anyway).
- qwery 3y agoIf you want all the javascript, don't count the javascript against the quota. If you don't want videos that you're never going to play deliberately, set the video quota to zero.
- skydhash 3y agoit's rare for the html file and the associated css is bigger than 2MB (much epub books is lighter than that if you reduce image size). The culprit are often media (fonts included), JS files, and files loaded dynamically. I'd say get the HTML and CSS files first, then JS and everything else and stops after the 2MB threshold. A lot of currently running JS code are unnecessary and I say this as a React developer.
- thejohnconway 3y agoPeople will start animating with JavaScript through canvas or other hacks (like rapidly changing the img src to play frames manually). Not sure if this is winnable with the all-powerful JavaScript sitting there nearly always available.
- kevin_thibedeau 3y agoYou win by running NoScript and blacklisting the modern web BS.
- RobotToaster 3y agoNot wrong. Most browsers included a popup blocker because everyone agreed popups are annoying, now nearly every website has 3 different JS popups.
- dylan604 3y agohonestly, I still feel like that is a win for users. pop-ups that are modals on a site is not anywhere close to open application windows, especially the pop-unders. to me, opening another application window on my system is much more abhorrent than a site deciding it wants my attention somewhere else on its site.
- ryandrake 3y agoYou are right, but it’s at least one step in the right direction. Browsers are so timid when it comes to giving users control, I’ll take anything. I don’t get this web developer attitude of just ignoring the user’s preference and working around it. The user should be in control of what the browser is doing, not the web developer. I really want to love JavaScript but it’s power to override user preferences is inexcusable.
- skydhash 3y agoI like Safari, but it does not want me to enable JavaScript per site.
- maxcoder4 3y agoUblock origin has this feature where it blocks large media files automatically (you have to click to load them). I use it for a long time and never had problems because of it.
- thisislife2 3y agoWhich settings are you specifically referring to in uBlock O? I didn't find any 'click-to-load' option for 'Block media elements larger than' option?
- lesona 3y agoCheck out uBlock Origin's per site switches - subheading "No large media elements" [1] [1]: https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-large-media-elements https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...
- schiffern 3y agoThen they said "click to load" they meant "click [the toggle button in the uBlock Origin panel] to load," not "click [the media element] to load."
- forgotmyinfo 3y agoNot sure what I'm doing, but whatever I'm using with uBlock Origin lets me click the media element to load it.
- ZephyrOhm 3y agoCheck out yokoffing's uBO filter lists. Specifically #2 "click2load" which does exactly what you're seeking. Making auto play content click to load. https://github.com/yokoffing/filterlists?tab=readme-ov-file https://github.com/yokoffing/filterlists?tab=readme-ov-file
- dredmorbius 3y agoThis is a further issue for those using e-ink devices (tablets, e-book readers, monitors), where rapid animation at higher quality settings is exceedingly disruptive --- stuttering, screen-flashing, and the like. (It is possible to display animations, if desired, at reasonable refresh rates using lower-quality display settings, e-ink offers a trade-off between text quality (resolution, ghosting) and refresh rates. But as if there needed to be additional arguments to put a hard stop on highly-distracting design elements, this really stands out.) I've also found it ... interesting ... to note that a single Web page often has the memory footprint of an entire book (a few MB for just plain text, though that can balloon upwards with complex typesetting and graphics), and that even a browser optimised for e-ink (Einkbro) has roughly 10x the power consumption of the stock ebook reader (Neoreader) on my Onyx BOOX tablet (labeled as an e-book reader, but in fact an e-ink based Android tablet). I can read books for days on a single battery charge. I can browse the Web for ... a few hours.
- skydhash 3y agoWhile the web allows for a lot of creative expressions, I think we should have companion protocols for alternate consumptions methods, something like Gemini for every page. An e-ink reader is good for focused reading, but bad for interactive or animated content. Just like gwern.net allows to add `.page` to every link and get the raw source, you could add `.gemini` to wikipedia pages and get a much simpler document that you can read on e-ink reader or a cli device (should be good for accessibility too).
- csande17 3y agoWikipedia kinda has this already: https://en.wikipedia.org/wiki/Taylor_Swift?action=render https://en.wikipedia.org/wiki/Taylor_Swift?action=render https://en.wikipedia.org/wiki/Taylor_Swift?action=raw https://en.wikipedia.org/wiki/Taylor_Swift?action=raw
- dredmorbius 3y agoWikisource as well, where one can choose HTML, ePub, or PDF on most documents. Other sites permit one to append ".json" for a raw JSON feed.
- musicale 3y agoYou had one job, browser "never auto-play" setting....