Search code examples
internet-explorercross-browsercompatibility

Is it possible to change browser mode without using the IE developer tools?


Our application runs fine in IE7 and IE8. We use the X-UA-Compatible header to force the browser to use IE7 standards document mode. This is about which rendering engine will be used afai get the picture. In IE9 however there are a bunch of things which stopped working. In IE9 the document mode is IE7 standards, but the browser mode remains IE9. When I manually change the browser mode (using the developer tools) to IE7, all is fine again.

Is there a way to programmatically force BROWSER MODE?


Solution

  • It seems this is not possible.