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.
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.
Fuck every form of this. Website: you deliver the document, and I decide if it works.
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.
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.
That’s still not feature detection & is in the exact same sniffing category
what’s even the advantage in this?
Something marketing and having your service not appear dysfunctional or buggy to the stupid, stupid enduser
Also avoids firefox privacy