Re:Go Browser Package
by zuck_vs_musk on Saturday May 18, 2024 @09:32PM
(#40403445)
This is useful.
If you have a website, you want to collect statistical data on which browsers are accessing your website and test for the best experiences on the top browsers.
that sounds nice, but history has shown thats never what happens.
what REALLY happens is the most popular browser and even version is determined, and anything thats not that doesn't get tested, and eventually breaks. its the pinnacle of lazy programming. "lets use telemetry so that we can point to data that allows us to make software thats as brittle as possible".
Re:Go Browser Package
by philosopher1234 on Saturday May 18, 2024 @11:58PM
(#40404168)
There are limited resources in the world. The bulk of the resources should go to the bulk of the users. It’s a feature that rare configurations are less tested
It's a (minor) necessary evil that gives useful information. Almost no-one spoofs their user agent. I use this to pin down problems on the user side. Our users have all kinds of weird devices (e.g. browsing with a PlayStation) and it can be hard to find where things go wrong. There was a case where we lost more users than usual, and it turned out to be something very subtle related to tab switching in Safari. Without the user agent, we would never have found out.
> Almost no-one spoofs their user agent.
Citation needed
Re:Go Browser Package
by mynameisvlad on Sunday May 19, 2024 @01:30PM
(#40408375)
Ask one of your non-tech friends to spoof a user agent. And see if they even know what a user agent is.
They won’t.
But also, what exactly were you expecting out of a citation? A survey done about whether people spoof their UA or not? That doesn’t exist and likely never will.
Re:Go Browser Package
by mynameisvlad on Sunday May 19, 2024 @05:02PM
(#40409716)
I am well aware what it means. I asked you what you were expecting because it doesn't exist and probably never will. Nobody goes around surveying people about user agents. That just doesn't happen in the real world.
(Former browser dev)
Agreed. Feature detection is the way, not UA sniffing.
the user-agent string has an essentially arbitrary format, so its not really a good place to be reading data from, or worse serving a different response based on the value.