Reputation: 81
we have requirement of always opening website in IE8 browser mode (not IE8 document mode) i.e if default browser is IE10 our site should open in IE78 browser mode. I tried this code;
Response.AddHeader("X-UA-Compatible", "IE=8");
in global.asax file but it seems to change browser document mode and not browser mode. Can we change it using vbscript because we have a plugin written in vbscript that changes some of the settings of IE ?
Thanks
Upvotes: 1
Views: 860
Reputation: 24637
Here is the relationship:
Creator Created server document users browser
Servers can control the document mode via scripts, because they host documents.
Users can control the browser mode via the registry, because they install the browser.
References
Is there a way to set Quirks Mode by default in IE10 running 64bit
Can I force IE9 *from the user side* to operate in quirks/standards mode?
Upvotes: 0