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
590 stars 77 forks source link

Navigator Platform #278

Closed dgstpierre closed 2 years ago

dgstpierre commented 2 years ago

In fraud detection, the navigator.platform is used very differently than the operating system that is specified in the user agent. Am I understanding correctly that platform is being removed? Spoofing the user agent and hence the operating system is very common. Platform is very helpful in detecting that.

miketaylr commented 2 years ago

This specification doesn't cover navigator.platform, and says nothing about its removal.

That said, Chromium is going to "freeze" platform to one of a few values: https://www.chromium.org/updates/ua-reduction#TOC-Reduced-navigator.platform-values-for-all-versions-. Perhaps one day it will make sense to specify that in HTML, if other browser engines do the same.