The URL of the site I am working on ended up on Microsoft compatibility list. This means that every time IE users visit it, IE9 mode is forced on which makes it impossible to use modern CSS or Javascript.
First 6 lines of every HTML document on the site look like these. There are no conditional comments. I also tried to put <title>
title immediately after the <head>
without any success.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<title>...</title>
Response HTTP headers always contain
X-UA-Compatible IE=Edge
But it does not appear to make any difference. The only thing that forces IE off IE9 mode is this checkbox in the Setting dialog. Only when it is unset, the site is displayed in the Edge mode.
Plus, I recently found that Microsoft's iecompatdata.xml contains featureSwitch="overrideXUACompatible:false"
attribute next to the site entry.
Is there anything else I can try to prevent my site from being displayed in IE compatibility mode?
If the site is on Microsoft's compatibility view list, you'll need to get them to remove it.
According to this page, you need to email [email protected] with the following information and ask that your site be removed from the list:
Send it as a header instead. By the time the meta tag is interpreted, the decision may already have been made; this will not be the case with the header.
More detail and instructions at this other SO post's answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With