by diminish · 7y ago · 0 comments
Actually it's also time to ban JavaScript after horrendous front end frameworks made simple page loads slow, energy and time consuming.
Javascript is useful, it is just a shame most people dont use it for good.
Installing apps is really not aomething i want. I am trying to keep apps on my phone low for a reason, browser is actually perfect for most of what i do.
I have at least 5 progressive webapps open right now, none of which could work without javascript. Of the other 20 websites I have open in other tabs, none are being annoying or aggressive, and I'm not even using an adblocker.
Well, technically it's possible, and even some parts of the script could be allowed to run or not.
> a browser cannot distinguish it from the good
But the user can. And the machine could help, thanks to machine learning.
How? I don't think that users even agree what consists of "good" and "bad" JavaScript.
Is this good Javascript? I dont think so. Does disabling it on an individual level help? No.
I built my last webapp entirely without JavaScript. Users constantly praise how fast it is. There's no bugs with the back button. It's accessible out-of-the-box. Form inputs work correctly out-of-the-box. It's clear when data is being loaded/submitted and when it's not (since that's already built into the browser). And on and on and on...
JavaScript is the worst thing to happen to UX, privacy, speed, caching, and accessibility. So much of the web's UX is broken because of JS. It's depressing because it was all unnecessary. We went from a standard declarative interface shared by all websites to an "anything goes" black box runtime.