Hacker News new | ask | show | jobs
by midnitewarrior 4738 days ago
User Agent strings are an archaic form of identity. In the case of Microsoft, much of the web tries to put IE off in its own corner due to its history of incompatibilities. The general answer has been to detect "MS" or "MSIE" and throw it a less capable site, or even worse, simply refuse to serve a functional site.

If Microsoft want's IE11 to be taken seriously, I think they've played their cards properly, as this should bypass existing IE filters. It somewhat feels like "deception" (Microsoft trying to fool the Web), but in their defense, the IE filters out there are not discerning enough -- somebody couldn't get their site to work in IE8, so they blocked ALL IE. There's no way Microsoft can combat this other than this tactic.

Now, if IE11 fails to deliver, I think they will only make the situation worse, as people will start building Trident filters.

1 comments

I think most people use conditional comments for IE and don't bother with user agent strings. I do, anyway.
Many people use conditional comments, but I wouldn’t go as far as saying most use them. There are tons of browser sniffing scripts out there on the web. I used to have to deal with them all the time when doing web site compatibility for Opera. They wouldn’t have made this change if they didn’t need to.

It is the same situation with hiding support for things like document.all, so they avoid the sniffers that do: if (document.all) { ie = true; } then use the ie variable to give those browsers the legacy IE code path.