logoalt Hacker News

chmod775today at 5:24 PM2 repliesview on HN

It appears website developers desperately want to return to a world where browsers actively pretend to be another browser*.

Want to check for DBSC? Enjoy not knowing whether the browser vendor decided to just roll a simple software implementation.

Nothing good comes from browser detection over feature detection anyways. It's time to do away with user-agents and other overt identifying markers, and if we're still not in a better place, aggressively start stubbing features.

* to some degree they still are. Firefox still ships with an user-agent override list for certain websites that have outdated user-agent sniffing for feature detection (and other fixes in about:compat).


Replies

pjmlptoday at 5:25 PM

You mean the same that gave Chrome its market share, by adopting ChromeOS features, and shipping Electron apps?

JoeAltmaiertoday at 5:26 PM

And yet, claiming support for a feature doesn't tell all. Different implementations can have subtle differences. Knowing the browser and version can allow a client to survive that.

show 1 reply