4 ms·
There are plenty of unmaintained sites out there that do stupid things in reaction to UA strings, and one of the stupid things is using a regex that expects spe
by richthegeek 7y ago
There are plenty of unmaintained sites out there that do stupid things in reaction to UA strings, and one of the stupid things is using a regex that expects specific strings to exist.
Using a completely new string format in the same field (or removing it entirely) breaks a lot of sites that'll never be fixed.
Freezing it prevents this. And if we're freezing and creating a new system then why not go for something queryable without all the baggage?
- qwerty456127 7y agoHow is something without all the baggage expected to help with the sites doing the stupid things?
- ajsnigrutin 7y agoUsers still want to see those pages. If browser X removes the UA string, that site brakes for them, and they change to browser Y that still has the old useragent.
- qwerty456127 7y agoBut won't removing just the baggage parts of the UA ("like Gecko", "KHTML" etc) break those sites anyway?
- richthegeek 7y agoThe old UA will exist as it always has done - frozen, unchanged. Nothing will be removed from the literaly `user-agent` header value.
- userbinator 7y agoI tried using no UA header at all for a period of a few weeks, many years ago when "appsites" weren't as common, and yet a lot of sites failed to load mysteriously, showed odd server errors, or even banned my IP for being a bot. I expect no UA header to be even less usable now that sites are more paranoid and app-ified, so instead I use a random one. That still confuses some sites...
- zzzcpan 7y agoRandom UA can get you outright blocked for looking like a bot. So is faking Googlebot and such.
- Kaiyou 7y agoA random one makes you unique and thus identifiable across sites.
- userbinator 7y agoI meant random as in "randomly picked from list of common UAs", not as in "randomly generated GUID".
- GoblinSlayer 7y agoYep, they can receive those crazy UAs, see https://wiki.mozilla.org/Compatibility/Go_Faster_Addon https://wiki.mozilla.org/Compatibility/Go_Faster_Addon