4 ms·
It's ironic that in a time when the browser used matters less than ever thanks to good HTML5 standard support and differences lie more in the fringe, most recen
by jug 8y ago
It's ironic that in a time when the browser used matters less than ever thanks to good HTML5 standard support and differences lie more in the fringe, most recent corners of the living standard, the user agent strings are more detailed than ever.
It would help if the browser vendors, particularly Google, took a step back and spent some time thinking about why user agent strings were invented. They're more like cludges to know how to present a web page, which are less needed nowadays because you can request things like mobile device dimensions, provide HiDPI resources that are only used in case they are needed, provide entirely different views depending on mobile or web, etc. All without peeking at that ugly string. Beyond that, we have polyfills and frameworks that guarantee cross-browser compatibility and minimum supported versions, again without resorting to peeking at browser engine build numbers or worse because the detections are now largely integrated in the standards themselves.
- PaulHoule 8y agoActually browser compatibility is not getting better, it is getting worse. I was working for a firm last year that made a system with a browser front end that only supported Chrome and Safari, not Edge or Firefox -- this is happening everywhere, and it is why MS threw in the towel with Edge.
- nkozyra 8y agoI don't think that anecdote fares well against the many ways in which browser compatibility has improved
- PaulHoule 8y agoBrowser compatibility is better in early 2019 than I think it was in early 2011. I think it is worse than it was in early 2018.
- thrax 8y agoBrowser compatibility is improving because the incompatible browsers are dying off.