什么是“魔术"?导致"cnn.com"在IE11中键入以自动启动Edge(铬)时? [英] What "magic" causes "cnn.com" when typed in IE11 to automatically launch Edge (Chromium)?

查看:65
本文介绍了什么是“魔术"?导致"cnn.com"在IE11中键入以自动启动Edge(铬)时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚注意到,当我输入"cnn.com"时,进入IE11地址栏(Windows 10),它将自动在Edge(Chromium)中启动网站,然后将此栏呈现在Edge中网站的顶部.

I just noticed that when I typed in "cnn.com" into the IE11 address bar (Windows 10), that it automatically launched the website in Edge (Chromium) instead, then rendered this bar at the top of the site in Edge.

(如果这是IE中的唯一标签,它也会自动关闭IE)

(it also looked like if this was the only tab in IE, it auto closed IE)

喜欢 这种新行为可以帮助从IE迁移用户,但可悲的是,我无法检测到CNN是如何通过代码来实现的.

I like this new behaviour to help migrate users over from IE, but sadly I could not detect how this is done code wise by CNN.

我查看了Fiddler,扫描了HTTP标头和网站上的meta标签...例如

I looked in Fiddler, scanned the HTTP Headers, and the meta tags on the site... e.g.

<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">

和IE仅注释标签:

<!--[if lte IE 9]><meta http-equiv="refresh" content="1;url=/2.250.0/static/unsupp.html" /><![endif]-->

但是我没有看到任何特定的因素似乎触发了这一点?我想 肯定 喜欢在我工作的某些网站/应用上采用类似的行为.

but I don't see anything specific that seems to be triggering this? I'd certainly like to entertain applying similar behaviour to some sites/apps that I work on.

FWIW,它还会触发(如果您尝试了足够的次数)此消息以保留在IE11中:

FWIW, it also triggers (if you try it enough times) this message to remain in IE11: https://support.microsoft.com/en-us/office/the-website-you-were-trying-to-reach-doesn-t-work-with-internet-explorer-8f5fc675-cd47-414c-9535-12821ddfc554?ui=en-us&rs=en-us&ad=us

推荐答案

Edge 87安装了一个名为IEToEdgeBHO的浏览器帮助程序对象,该对象根据预先提供的站点列表( https://edge.microsoft.com/neededge/v1 )

Edge 87 installs a browser helper object called IEToEdgeBHO that performs this redirection based on a pre-provisioned site list (https://edge.microsoft.com/neededge/v1)

在Edge内部,请参阅edge://settings/?search = Internet%20Explorer以了解启用/禁用此功能的设置.

Inside Edge, see edge://settings/?search=Internet%20Explorer for the setting that enables/disables this feature.

这篇关于什么是“魔术"?导致"cnn.com"在IE11中键入以自动启动Edge(铬)时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆