this post was submitted on 21 Nov 2023
1219 points (95.9% liked)

Firefox

18050 readers
26 users here now

A place to discuss the news and latest developments on the open-source browser Firefox

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] thehatfox 12 points 1 year ago (1 children)

User agents are not unfortunately not the only way to identify a browser, there are other ways to fingerprint a platform.

[–] [email protected] 6 points 1 year ago (2 children)

JavaScript as it is today also need to be thrown in a trash of history. Website should not contain additional code. If someone wants to send me an app hacked on top of website rendering, it should be a popup asking me first if I want to run this.

[–] Supervisor194 14 points 1 year ago (1 children)

No, dynamic content should absolutely be able to be delivered through the open Web, not just through walled gardens. Apps are almost universally shit.

[–] [email protected] 2 points 1 year ago

No problem with sending some JavaScript module extending browser's capability. But the problem I see is sending whole sites this way, sometimes even rendering HTML on the visitor's browser, yack..

[–] GetPsyched -3 points 1 year ago (1 children)

That's a terrible idea. Every single thing other than a block of text requires js.

[–] [email protected] 5 points 1 year ago (1 children)

This is absolutely not true and just a myth. Images, video playback, "show more", forms, tabbing, animations, custom icons, hover effects, popups, background images and videos, light/dark mode, hamburger menus...

It's hard to count things you can do with advanced format that is HTML+CSS. Saying JavaScript is nessesary for anything other than block of text is like saying that in Minecraft command blocks are nessesary for anything other than making voxel art.

For basic things like interacting with your bank or goverment, running any additional code should be unnessesary. And I believe this needs to be a law targeting accessibility and compatibility.

[–] [email protected] 1 points 1 year ago

For maps, dynamic updating, OK. But look at the web now, most sites are apps requiring 99% of web standards implemented to work. No wonder it's now impossible to actually make a new browser.

HTML was made to last. If browser do not support some tag it would try and render it anyway. Meanwhile with today's webapps browsers in 2033 will be required to have so much technical debt that for now was exclusive to operating systems.