swapnil
swapnil

Reputation: 81

Change Browser Mode to IE8 using Vbscript

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

Answers (1)

Paul Sweatte
Paul Sweatte

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

Upvotes: 0

Related Questions