Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Override IE Local Intranet Settings

The website that I am developing is added to the list of local intranet sites in IE browsers.

enter image description here

Then in compatibility view settings the check box for the "display intranet sites in Compatibility View" is checked.

enter image description here

Problem, the site that I am developing right now is displayed as compatibility view in IE browsers (For very obvious reason).

What I need to do, is to find a way not to display the site in compatibility view.

What I tried so far is adding the below header but to no avail.

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

and

<httpProtocol>
  <customHeaders>
    <clear />
    <add name="X-UA-Compatible" value="IE=edge" />
  </customHeaders>
</httpProtocol>

Removing the said IE browser settings is not an option since there are 300,000 computers to modify around the world (Lucky for me).

Question, Is there a way we can override this settings so that my site will not render in compatibility mode?

like image 526
Pinoy2015 Avatar asked May 06 '15 04:05

Pinoy2015


People also ask

How do I disable intranet settings?

Click Security Page, right-click Intranet Sites: Include all local (intranet) sites not listed in other zones, and then click Properties. Click Enabled, and then click OK. Right-click Turn on automatic detection of the intranet, and then click Properties. Click Disabled, and then click OK.

How do I stop Internet Explorer from blocking websites?

Open Internet Explorer, select the Tools button , and then select Internet options. Select the Security tab, choose one of the security zone icons (Local intranet, Trusted sites, or Restricted sites), and then select Sites. You can add sites to the zone you chose, or delete sites that you no longer want in this zone.


1 Answers

There is another thread which has a similar solution to your second one as the answer, but with a little bit extra

For IIS, just add the below code to the web.config. Worked for me with IE9.

<system.webServer>
  <httpProtocol>
    <customHeaders>
      <clear />
      <add name="X-UA-Compatible" value="IE=edge" />
    </customHeaders>
  </httpProtocol>
</system.webServer>

Override intranet compatibility mode IE8

like image 193
Jsmith2800 Avatar answered Sep 16 '22 15:09

Jsmith2800