this post was submitted on 03 Aug 2024
180 points (97.9% liked)

Firefox

4247 readers
25 users here now

A community for discussion about Mozilla Firefox.

founded 2 years ago
MODERATORS
180
submitted 5 months ago* (last edited 5 months ago) by TheTwelveYearOld to c/firefox
 

A Mozilla employee recently released a Firefox addon to change the user agent to Chrome on sites the user enables it on.

you are viewing a single comment's thread
view the rest of the comments
[–] reddig33 72 points 5 months ago* (last edited 5 months ago) (3 children)

You shouldn’t have to do this. I blame W3C org and their ilk for putting the rendering engine, browser brand, and browser version in the response header. All your browser should be telling the site is the versions of html, css, and JavaScript it supports and whether it’s mobile or desktop.

[–] [email protected] 21 points 5 months ago

Your ideas are intriguing to me and I wish to subscribe to your newsletter.

[–] 9point6 13 points 5 months ago

versions of html, css, and JavaScript it supports

Given the level of support a browser has for something is basically the browser's version (there's no such thing as a version number for JavaScript or CSS for example, there's a spec that's kinda versioned, but browsers don't implement everything the same), you've basically just described user agent strings

We have feature detection approaches today that make UA based browser detection generally unnecessary but the horse has already bolted on that now

[–] IHawkMike 6 points 5 months ago

The evolution of the user-agent string isn't exactly the W3C's fault.

https://webaim.org/blog/user-agent-string-history/