internet explorer - What is IE9 compatibility view in IE9 Developer tools? -


I see IE 9 developer tools and when I click on browser mode I get a list <7> IE 7 IE 8 IE 9 See IE 9 compatibility

What does this do? What is the difference between IE 9 and IE 9 Compatibility View?

main is the difference user-agent string for Internet Explorer 9, UA The string is sent:

Mozilla / 5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident / 5.0) < P> For compatibility view, anything like the following string will be sent:

Mozilla / 4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident / 5.0; SLCC 2; NAT CLR 2.0.50727; NAT CLR 3.5.30729; NAT CLR 3.0.30729; Media Center PC 6.0; NT 4.0C; N T4.0E; Zune4.7)

How does the compatibility view recognize the UA string browser as MSIE 7.0 ? Documents mode is not enough to work in the form of compatibility view. The reason is that you can not really be rear compatible if you still have web server running IE 9 - this is something A server-side code that identifies the IE 7 browser and discovers content that is specific to that browser, in this way, Developer Tools gives you the opportunity to see how your web page will look if the user The user clicked the "Compatibility View" icon permanently without switching to the compatibility view.

For perfection, it is also worth mentioning that the app version changes the string in a similar way. The app version of IE 9 is string:

5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident / 5.0)

and in compatibility view (may vary depending on the software):

4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident / 5.0; 2; 2.0.50727; .NET CLR 3.5.30729; Net CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Zune 4.7) < P> These strings are similar to the UA strings, but the client-side script replaced this string instead of the UA string. Ng also can refer to. IE 9 can still be detected by the trident / 5.0 section in the UA string and app version string, regardless of compatibility mode.

Comments