简体   繁体   中英

Does Microsoft Edge support rendering in IE8 mode? Is there any solution for this?

I was using

"<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8")

in IE11 to render the an application in IE8 compatibility mode and I never had any issues. Now IE11 is going to be replaced with Edge and the above solution does not seem to work. Is there a way to resolve this issue?
Thanks in advance for your responses.

If you are looking for a solution to apply in your code to load the IE 8 mode in the Edge browser then I did not get any way to do it.

You can do it from the Edge browser side.

MS Edge Chromium browser comes with the IE mode feature.

IE mode on Microsoft Edge makes it easy to use all of the sites your organization needs in a single browser. It uses the integrated Chromium engine for modern sites, and it uses the Trident MSHTML engine from Inte.net Explorer 11 (IE11) for legacy sites.

You can configure IE mode by setting a group polices for the MS Edge browser.

Below is the list of relevant policies.

  1. Configure Inte.net Explorer integration

I suggest you enabled this policy and set its value to Inte.net Explorer mode .

  1. Send all intr.net sites to Inte.net Explorer

With the help of this policy, all intr.net sites will be loaded in the IE mode in the MS Edge browser.

  1. Configure the Enterprise Mode Site List

You can create sitelist.xml and pass the file address in this policy. You can create the sitelist.xml file manually. If you are not familiar with the content of this file then I suggest you download the Enterprise Mode Site List Manager (schema v.2) . By using this you can easily create a site list and export it to the XML file.

while creating the site list using Enterprise Mode Site List Manager, you can choose the desired document mode or enterprise mode.

在此处输入图像描述

Sample of site list file:

<site-list version="5">
  <created-by>
    <tool>EMIESiteListManager</tool>
    <version>12.0.0.0</version>
    <date-created>01/14/2021 05:45:47</date-created>
  </created-by>
  <site url="localhost">
    <compat-mode>IE8</compat-mode>
    <open-in>IE11</open-in>
  </site>
</site-list>

After applying the above policies, I try to launch the test site.

在此处输入图像描述

You can notice that the browser is MS Edge. Page got loaded in the IE mode and page loaded in the IE 8 mode.

Further, you can try to refer to the policies and make the necessary changes according to your requirement and try to make a test on your side.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM