即使我已经在Microsoft Edge中,将URL重定向到Microsoft Edge

发布于 2025-02-08 08:46:46 字数 222 浏览 2 评论 0原文

我的目标是强制在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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

凡间太子 2025-02-15 08:46:46

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 use microsoft-edge:url protocol; For Edge, you can simply use the url.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文