Set IE10 to IE9 mode for specific sites
I would like to force IE10 at the browser level (not from the server side) to go into IE9 mode.
I know that I can do this manually through the F12 developer tools in the desktop version of IE10. Is it possible to force a site to always be seen in IE9 mode in both the Metro and desktop versions of IE10?
Solution 1:
You can add your site to the compatibility view lists. Choose from menu "Tools" -> "Compatibility View settings" and in the popup dialog input your site.
I've done it on the Windows 7, but I think that this solution applies to Windo
Solution found here: http://www.mydigitallife.info/force-ie8-to-load-and-display-websites-in-ie7-compatibility-view-mode/.
Solution 2:
The best I can think if is forcing the browser to open in a specific mode by using a command-line option. Sadly, anything like this cannot be found from the "official" list of command-line options for IE. Also discussions on Technet also seem to imply that - at least on IE9 - you cannot permanently set document mode to a legacy setting.
Also I gotta say it puzzles me why you need to figure this out on client-side in the first place. I mean if you want to force IE10 users to use IE9 rendering mode then you just need to add an X-UA-Compatible
meta tag with IE version at 9:
<meta http-equiv="X-UA-Compatible" content="IE=9">
From MSDN Library:
In certain cases, it might be necessary to restrict the display of a webpage to a document mode supported by an earlier version of Internet Explorer. You can do this by serving the page with an x-ua-compatible header. For more info, see Specifying legacy document modes.