简体   繁体   English

Microsoft Edge 非 IE 模式

[英]Microsoft Edge Non-IE mode

I have an angular app hosted on intranet.我有一个托管在 Intranet 上的 angular 应用程序。 It automatically tries to run under IE mode when using Edge browser.使用 Edge 浏览器时,它会自动尝试在 IE 模式下运行。 I tried removing <meta http-equiv="X-UA-Compatible" content="IE=edge"> from index.html but no luck.我尝试从 index.html 中删除<meta http-equiv="X-UA-Compatible" content="IE=edge">但没有运气。 IE Mode configuration has been disabled at browser level so I am not able to change it using settings. IE 模式配置已在浏览器级别禁用,因此我无法使用设置进行更改。 However, I know there are some websites which automatically run as NON-IE mode so there seems to be some meta settings.但是,我知道有些网站会自动以非 IE 模式运行,所以似乎有一些元设置。

Is there any specific settings required to force it run as NON-IE mode?是否需要任何特定设置才能强制它以非 IE 模式运行?

The meta tag will not cause the site to render using the IE-mode.元标记不会导致网站使用 IE 模式呈现。

It looks like some group policies are applied by your company that is loading your site in the IE mode.看起来您的公司应用了一些组策略,以 IE 模式加载您的网站。

I suggest you type edge://policy/ on the Edge browser address bar and press the Enter key.我建议你在 Edge 浏览器地址栏输入edge://policy/ ,然后按 Enter 键。

It will show the list of applied policies.它将显示应用策略的列表。

If all intranet sites are loading in the IE-mode then the below policy may cause this result.如果所有 Intranet 站点都在 IE 模式下加载,则以下策略可能会导致此结果。

Send all intranet sites to Internet Explorer 将所有 Intranet 站点发送到 Internet Explorer

If only some sites are loading in the IE-mode then it can be possible that your site is added to the Enterprise Mode site list.如果仅在 IE 模式下加载某些站点,则您的站点可能会添加到企业模式站点列表中。

Configure the Enterprise Mode Site List 配置企业模式站点列表

If you don't want to load that site in the IE-mode then I suggest you contact the IT department of your company to remove that site from the Enterprise Mode site list.如果您不想在 IE 模式下加载该站点,那么我建议您联系您公司的 IT 部门以将该站点从企业模式站点列表中删除。

To get more information regarding IE-mode policies, I suggest you refer to the Configure IE mode policies .要获取有关 IE 模式策略的更多信息,建议您参阅配置 IE 模式策略

Let me know if you have further questions.如果您还有其他问题,请告诉我。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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