this post was submitted on 21 Jun 2024
385 points (98.0% liked)

Firefox

17952 readers
253 users here now

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

founded 4 years ago
MODERATORS
 

I know I can spoof my useragent, it's just ridiculous that such a massive app doesn't support an equally massive browser.

you are viewing a single comment's thread
view the rest of the comments
[–] mindbleach@sh.itjust.works 29 points 5 months ago (2 children)

Fuck every form of this. Website: you deliver the document, and I decide if it works.

[–] toastal@lemmy.ml 6 points 5 months ago (1 children)

You are supposed to do feature detection, not user agent detection since it is easily spoofed, isn’t realiable, & doesn’t account for literally all the alternative UAs that can support it. This is bad/lazy practice.

Fx doesn’t always have all the features you need, but often it usually does & where I have seen this as being deployed is management saying it isn’t worth the effort to support. Just having one person on the team running Fx is usually enough to catch the game-breaking bugs.

[–] refalo@programming.dev 1 points 5 months ago (1 children)

FYI navigator.platform and friends will still return Linux, even in Tor Browser... so it's still trivially easy to detect your OS, Browser etc. and block that even without the user agent.

[–] toastal@lemmy.ml 2 points 5 months ago

That’s still not feature detection & is in the exact same sniffing category

[–] isolatedscotch@discuss.tchncs.de 2 points 5 months ago (1 children)

what's even the advantage in this?

[–] holgersson@lemm.ee 2 points 5 months ago (1 children)

Something marketing and having your service not appear dysfunctional or buggy to the stupid, stupid enduser

[–] ILikeBoobies@lemmy.ca 1 points 5 months ago

Also avoids firefox privacy