santlal kurmi
santlal kurmi

Reputation: 53

How to find out that current site is added in compatible list view in IE using javascript

I have an application which works fine in IE10 with and without compatibility mode. But there is one feature which works only in compatible mode and without compatibility mode, it has slight deviation. I can fix it if I can find out if current site in added in compatibility view list.

I check this using https://gist.github.com/jasongaylord/5733469 project. But this does not work

  1. if site is an interanet site and "Display all internet site in compatible mode" option is checked.
  2. if user added current site in Compatible view list by Tools->Compatibility View Setting -> Add

So is there any way to find out current website is in compatibility view or not using javascript ?

Upvotes: 0

Views: 42

Answers (0)

Related Questions