3 ms·
I don't encounter this problem - and have rarely disabled JS. Perhaps having hundreds of tabs open is the cause of your issues? Isn't this what bookmarks are
by TomGullen 5y ago
I don't encounter this problem - and have rarely disabled JS. Perhaps having hundreds of tabs open is the cause of your issues? Isn't this what bookmarks are for?
- southerntofu 5y agoOr maybe you have a higher-end machine than i do? I can tell you it's a common occurrence in my circles where we mostly use second-hand hardware. I remember when JS was not that common it took much less resources to browse the web: now people have gotten used to being unable to have different pages open at the same time. "I should close youtube so discord isn't terribly slow". Also, i don't always have hundreds of tabs open. But even just following links published on HN regularly pops up an article with simple text and images that for some reason will try to run many scripts eating away all my resources. Tor Browser's Safest mode is perfectly able to run dozens/hundreds of tabs. If you want to be more technical about it, there's obvious reasons for this. Of course, the client-side scripts are vastly inefficient because they're interpreted or JITed. And the scripts often have more than suboptimal ways to perform basic tasks which arguably could (should?) be declarative HTML/CSS elements which the browser could optimize for. Moreover, a single DOM change triggers redrawing, and some scripts are very keen on editing the DOM. Then of course we could talk about cryptominers and trackers and whatnot. Some people on this very forum have advertised that it would be acceptable to embed miners in web pages so that clients "pay for" the content. This outlines the high-level problem with client-side scripting on the web: who decides what gets computed on our machines? The declarative model is arguably empowering users whereas client-side scripting (in a client-to-server model like HTTP) is certainly empowering website operators to abuse their users.