3 ms·
If companies are going to start messing with user agent strings again, can we please try to restore some sanity? How about "Internet Explorer 11.0" as a user a
by notatoad 14y ago
If companies are going to start messing with user agent strings again, can we please try to restore some sanity? How about "Internet Explorer 11.0" as a user agent? Would that be so hard?
- wonderzombie 14y agoWould that be so hard? Are you being facetious? As far as users are concerned, IE would be broken. Users don't care that it's because of, say, websites with broken useragent sniffing. I'm sure it's even more complicated than that, to be honest. But the overarching principle something Josh Bloch articulated. He said something to the effect that any interface that you publish, even if it includes strings (e.g. a pretty-printed stack trace), will inevitably become part of the interface.
- notatoad 14y agoI'm not being facetious, i'm honestly asking. How many websites are actually still sniffing the user agent and depending on that Mozilla/5.0 bullshit at the beginning? what would break? anybody who's surfed with a changed user agent for a while care to comment?
- SideburnsOfDoom 14y agoGood idea. I'd prefer it to be slightly more structured e.g. "Microsoft; Internet Explorer; 11.0" Maker, product name and version should be good enough for everyone.
- pornel 14y agoThe syntax is [product/version (comment)?]+, so InternetExplorer/11.0 (like Gecko!) Windows/8 (like MacOS!;)