WICG / ua-client-hints

Wouldn't it be nice if `User-Agent` was a (set of) client hints?
https://wicg.github.io/ua-client-hints/
Other
583 stars 74 forks source link

UA-CH-Brand is already (ab)used from several sites #342

Closed Hadden89 closed 1 year ago

Hadden89 commented 1 year ago

Browsers nowadays are pretty much chromium, gecko and webkit and it seems several sites are already (ab)using the UA-CH brand string to exclude/bork other ones EVEN if based on the same engine without a valid reason (eg: bing AI chat, banking sites and so on).

UA-CH only should care about engine, not the brand: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorUAData/brands

If a specific site really need a specific browser, is up to them to explain to their users (but in 99% case is not true)

miketaylr commented 1 year ago

There are valid use cases for having a brandlist, and one of them is precisely compatibility: a UA is free to have multiple brands to work around these issues. As much as I'd love to believe otherwise, there aren't any real technical solutions to the issues you're describing. Sites have various motivations for restricting features, whether good or bad (my personal opinion is that this is pretty much always bad!).