198
submitted 6 months ago by joojmachine@lemmy.ml to c/firefox@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] reddig33@lemmy.world 43 points 6 months ago

User agent strings are an outdated discriminatory concept. Browsers should be specifying supported JavaScript, HTML, and CSS versions instead.

[-] flamingmongoose 19 points 6 months ago

There is a JavaScript API to describe what features it supports

[-] Vincent@feddit.nl 5 points 6 months ago

I don't think any of those standards do versions anymore. They just add modules, and then browsers implement them in whatever order.

They could list the individual features, but of course, now you've exposed a huge fingerprinting vector. And that wouldn't even help for bugs, where the browsers would say they implement a feature, but then a bug would still require a browser-specific workaround. And you'd have to have access to it already via the HTTP request headers, because you might need to serve different content in response to it.

UA strings are not pretty, but it's not a simple problem to solve.

this post was submitted on 13 May 2024
198 points (100.0% liked)

Firefox

17937 readers
32 users here now

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

founded 4 years ago
MODERATORS