4 ms·
> I wonder how long before the default is to brows with JavaScript turned off... or is it too integral to basic web pages now? As Flash once was. Maybe a grass
by andybak 11y ago
> I wonder how long before the default is to brows with JavaScript turned off... or is it too integral to basic web pages now?
As Flash once was. Maybe a grass-roots revolt is needed. Something akin to Apple refusing to allow Flash on iOS.
Imagine if js was throttled - or automatically disabled if a page was detected as being too resource-intensive? That would realign the incentives of user and content-producer and web-developers would find it considerably easier to argue for spending time on performance tuning.
I believe Google's using pagespeed as a factor in ranking is a small step in this direction. I hope someone goes all in.
- franciscop 11y agoI believe there's some limit for javascript in inactive tabs: http://stackoverflow.com/questions/15871942/how-do-browsers-pause-change-javascript-when-tab-or-window-is-not-active http://stackoverflow.com/questions/15871942/how-do-browsers-...
- ygra 11y ago> Imagine if js was throttled - or automatically disabled if a page was detected as being too resource-intensive? Google tried doing something in that direction, by not running functions registered with setTimeout in certain cases (a pattern that's supposedly often used by ads on a site, impacting load time), thereby breaking a whole lot of legitimate cases along the way.
- robmcm 11y agoOpera has just done something like this for it's low power mode: Reduced activity in background tabs Waking CPU less often due to more optimal scheduling of JavaScript timers Automatically pausing unused plug-ins Reduced frame rate to 30 frames per second Tuning video-playback parameters and forcing usage of hardware accelerated video codecs Paused animations of browser themes http://www.opera.com/blogs/desktop/2016/05/introducing-power-saving-mode/ http://www.opera.com/blogs/desktop/2016/05/introducing-power...