I would word it as: I should not have to allow strangers to execute arbitrary code on my PC just so I can view some text and/or images.
Comment on nobody in webdev knows what graceful degradation is anymore
Borger@lemmy.blahaj.zone 1 day ago
i, as a user, should be able to switch off javascript and have the site work exactly as it does with javascript turned on Not agreeing or disagreeing, but why?
grueling_spool@sh.itjust.works 1 day ago
CombatWombat1212@lemmy.ml 1 day ago
Low-key I’m disagreeing
moseschrute@lemmy.world 1 day ago
Because big tech has ruined the internet and uses JavaScript among other things, to track you. Some people blame the plastic pollution on improper recycling when we know that’s exactly what the evil plastic industry wants us to do: blame the consumer. Similarly, people think it’s their responsibility to turn off JavaScript when they should be blaming big tech. Even if you get rid of JavaScript, they will just find other creating ways to track you (source). We have to fix the structures running the tech industry.
frezik@lemmy.blahaj.zone 1 day ago
JavaScript is directly related to almost everything that makes browser tabs take up more RAM than a typical PC in 1998. There are ways to use it in targeted ways that improve responsiveness (objectively or subjectively). The web as it stands is so far beyond that justification that it’s almost laughable to even bring it up.
I run a personal blog with zero JavaScript; just HTML, CSS, and some pictures. Firefox’s memory snapshot says it uses <3MB on the homepage. Amazon’s homepage is currently giving me 38MB, and this comment section with the Alexandrite frontend is giving me 30MB. Those two may even be at the low end of what’s out there.
Borger@lemmy.blahaj.zone 1 day ago
Oh yeah. There’s no doubt that modern web tech stacks are inefficient slop - patchwork built upon patchwork.
However, JS has been included in every major browser for well over a decade. It’s industry standard at this point, so I found the position of expecting commercial services to be backwards compatible with a 1998 browser setup a little odd.
What do you think about WebGL apps?
frezik@lemmy.blahaj.zone 1 day ago
I don’t have a fundamental problem with web apps having access to GPU resources. There’s obviously games that can benefit from that.
In general, I don’t have a fundamental problem with any of this being there provided the attack surface area can be managed. Which it isn’t, but that’s another discussion.
I have a problem with the tools being applied indiscriminately. I’d almost say that every site should start vanilla, and you’d have to specifically justify any use of JavaScript.
cupcakezealot@piefed.blahaj.zone 1 day ago
then you have outlook and google docs, which use a half a gigabyte of memory each.
Emerald@lemmy.world 1 day ago
Microsoft Teams