Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh my god can we please kill the user agent string already? Every time any new combination of browser/os/platform is created it claims that it's as some other user agent from an established browser because sites are lazy and abuse user agent string to determine capability. Meaning they have long lost all meaning and we should just dump them.


> Oh my god can we please kill the user agent string already?

Browser makers tried to do that by providing feature detection, but the weight of legacy code and developers already used to using the user agent strings has made killing it impossible.

Edit: As pointed out in another comment here, it seems like Google is killing it (or planning to). [1]

[1]: https://www.zdnet.com/article/google-to-phase-out-user-agent...


Right? I mean we can’t kill it because everything currently exists would die.

But the many attempts to freeze the existing UA are for the purpose of stopping people testing through the UA




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: