Element | Description | Supported browser |
---|---|---|
<site-list> | A new root node with this text is using the updated v.2 version of the schema. It replaces <rules>.
Example <site-list version="205"> <site url="contoso.com"> <compat-mode>IE8Enterprise</compat-mode> <open-in>IE11</open-in> </site> </site-list> |
Internet Explorer 11 and Microsoft Edge |
<site> | A unique entry added for each site you want to put on the Enterprise Mode site list. The first <site> element will overrule any additional <site> elements that use the same value for the <url> element.
Example <site url="contoso.com"> <compat-mode>default</compat-mode> <open-in>none</open-in> </site>-or- For IPv4 ranges: <site url="10.122.34.99:8080"> <compat-mode>IE8Enterprise</compat-mode> <site> -or- For IPv6 ranges: <site url="[10.122.34.99]:8080"> <compat-mode>IE8Enterprise</compat-mode> <site> You can also use the self-closing version, <url="contoso.com" />, which also sets:
|
Internet Explorer 11 and Microsoft Edge |
<compat-mode> | A child element that controls what compatibility setting is used for specific sites or domains. This element is only supported in IE11.
Example <site url="contoso.com"> <compat-mode>IE8Enterprise</compat-mode> </site>-or- For IPv4 ranges: <site url="10.122.34.99:8080"> <compat-mode>IE8Enterprise</compat-mode> <site> -or- For IPv6 ranges: <site url="[10.122.34.99]:8080"> <compat-mode>IE8Enterprise</compat-mode> <site> Where:
|
Internet Explorer 11 |
<open-in> | A child element that controls what browser is used for sites. This element supports the Open in IE11 or Open in Microsoft Edge experiences, for devices running Windows 10.
Example <site url="contoso.com"> <open-in>none</open-in> </site> Where:
|
Internet Explorer 11 and Microsoft Edge |
Attribute | Description | Supported browser |
---|---|---|
allow-redirect | A boolean attribute of the <open-in> element that controls the behavior for redirected sites. Setting this attribute to "true" indicates that the site will open in IE11 or Microsoft Edge even if the site is navigated to as part of a HTTP or meta refresh redirection chain. Omitting the attribute is equivalent to "false" (sites in redirect chain will not open in another browser).
Example <site url="contoso.com/travel"> <open-in allow-redirect="true">IE11</open-in> </site>In this example, if https://contoso.com/travel is encountered in a redirect chain in Microsoft Edge, it will be opened in Internet Explorer. |
Internet Explorer 11 and Microsoft Edge |
version | Specifies the version of the Enterprise Mode Site List. This attribute is supported for the <site-list> element. | Internet Explorer 11 and Microsoft Edge |
url | Specifies the URL (and port number using standard port conventions) to which the child elements apply. The URL can be a domain, sub-domain, or any path URL.
Note Make sure that you don't specify a protocol. Using <site url="contoso.com"> applies to both https://contoso.com and https://contoso.com. Example <site url="contoso.com:8080"> <compat-mode>IE8Enterprise</compat-mode> <open-in>IE11</open-in> </site>In this example, going to https://contoso.com:8080 using Microsoft Edge, causes the site to open in IE11 and load in IE8 Enterprise Mode. |
Internet Explorer 11 and Microsoft Edge |
Deprecated attribute | New attribute | Replacement example |
---|---|---|
<forceCompatView> | <compat-mode> | Replace <forceCompatView="true"> with <compat-mode>IE7Enterprise</compat-mode> |
<docMode> | <compat-mode> | Replace <docMode="IE5"> with <compat-mode>IE5</compat-mode> |
<doNotTransition> | <open-in> | Replace <doNotTransition="true"> with <open-in>none</open-in> |
<domain> and <path> | <site> | Replace:
<emie> <domain exclude="false">contoso.com</domain> </emie>With: <site url="contoso.com"/> <compat-mode>IE8Enterprise</compat-mode> </site>-AND- Replace: <emie> <domain exclude="true">contoso.com <path exclude="false" forceCompatView="true">/about</path> </domain> </emie>With: <site url="contoso.com/about"> <compat-mode>IE7Enterprise</compat-mode> </site> |