即使我已经在Microsoft Edge中,将URL重定向到Microsoft Edge
我的目标是强制在Microsoft Edge打开的URL。我找到了一种方法:microsoft-gedge:url
。
事实是,该方法在Internet Explorer,Chrome下工作,但不在边缘。在Edge中使用此方法将打开Bing搜索,而不是我的链接。
我遇到这个问题,因为我想更改网站的链接,如果我已经处于优势状态,它根本不起作用。
有解决方案吗?
My objective is to force an URL to be opened in Microsoft Edge. I found a way to do this with : microsoft-edge:url
.
The fact is that this method works under Internet Explorer, Chrome but NOT in Edge. Using this method in Edge will open a Bing search but not my link.
I'm encountering this issue because I want to change a link from a website and it doesn't work at all if I'm already in Edge.
Is there any solution?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Microsoft-Edge:url
协议使其他浏览器可以切换到Edge,除了Edge本身,因为您已经处于边缘。在这种情况下,我建议修改您的代码。您可以首先检测用户是使用Edge还是其他浏览器。对于其他浏览器,您可以使用Microsoft-gedge:url
协议;对于边缘,您可以简单地使用URL。The
microsoft-edge:url
protocol enables other browsers to switch to Edge, except Edge itself since you're already in Edge. In this case, I would suggest modifying your code. You can first detect if the user is using Edge or other browsers. For other browsers, you can usemicrosoft-edge:url
protocol; For Edge, you can simply use the url.