Some websites serve certain versions of Internet Explorer (we’re looking at you, 6) with custom CSS code in order to make sure the website displays in a readable way. These practices are known as “CSS hacks” and target IE6, 7, 8 with a different type of CSS code than other browsers, such as Chrome and Firefox.
Microsoft have replaced the “MSIE” string, which identifies the browser to the website as Internet Explorer, with just “IE,” meaning host websites won’t be able to use their current CSS hacks on IE11. To further ensure IE11 users don’t receive an odd version of the site, Microsoft also included the command “Like Gecko” which instructs the website to send back the same version of the website as they would to Firefox.
I have exactly one CSS hack for IE on this site. (If you care, it’s based on this one.)
If you’re not used to user-agent strings, here’s the one I leave behind:
Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0
“NT 5.1,” in case you’ve forgotten, is better known as “XP.” (Windows 8, however, is not 8.0, but 6.2.) Every browser has some sort of string like this, usually with a nod to Mozilla. Among layout engines, Gecko ranks third, behind WebKit (used by Safari, Chrome, and various smartphones) and Trident (used by Internet Explorer).
Same machine, with Internet Explorer 8:
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Why all these versions of Microsoft’s .NET framework feel compelled to mention themselves is beyond me. Then again, I seldom have any reason to mention .NET, and when I do, it’s not favorably.