Mozilla on the coming version-100 apocalypse
Mozilla on the coming version-100 apocalypse
Posted Feb 16, 2022 19:52 UTC (Wed) by nybble41 (subscriber, #55106)In reply to: Mozilla on the coming version-100 apocalypse by flussence
Parent article: Mozilla on the coming version-100 apocalypse
A *really* badly coded web scraper would just send a User-Agent header matching a popular web browser, in which case the header doesn't add any value. (And the more you rely on the User-Agent header to determine your response the most likely this scenario becomes, as scrapers are forced to make themselves look as much like regular browsers as possible.)
I can see a compatibility argument against removing the header entirely, but IMHO the actual agent string should be locked to a single value matching one of the popular browsers and never updated again. The same goes for JS APIs to probe the user agent. Servers and client-side code should treat all user agents equally.
