Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internet Explorer - How to force compatibility mode for certain sites?

I would like to force IE10 to render certain sites from my intranet in IE9 mode.

I have tried using the local compatibility list to no avail (%LocalAppData%\Microsoft\Internet Explorer\IECompatData\iecompatdata.xml). I have tried adding the following entry into that file:

<domain docMode="EmulateIE9">projects.mycompany.com</domain>

Is anybody aware if this is possible? Or maybe there's an add-on for inserting a doctype on the fly?

I could also use fiddler for that, but I would like to know if there's no simpler solution.

Update: to clarify, I need a solution that works client-side. I have no access to the servers. I might want, for instance, to modify the headers (insert a DOCTYPE) in a certain page from http://abc.com, to which I have no access. I could do that with fiddler or something like GreaseMonkey (Trixie for IE), but I am first looking for an easier solution before dirtying my hands.

like image 201
Joao Silva Avatar asked Dec 15 '22 10:12

Joao Silva


1 Answers

You can specify sites for the Compatibility list (including subdomains) by doing the following:

1) Open up Local Group Policy Editor (Windows Key+R & type gpedit.msc)

Windows Key+R->gpedit.msc

2) Go to:

Computer Configuration/Administrative Template/Windows Components/Internet Explorer/Compatibility View

Local Group Policy Editor

3) Edit the Use Policy List of Quirks Mode sites, enable it and add sites to the list of sites

List

4) Reboot and try those sites

like image 70
Afzal Avatar answered May 27 '23 11:05

Afzal