尝试从Chrome浏览器在IE窗口中打开链接 [英] Trying to open a link in IE window from Chrome browser

查看:179
本文介绍了尝试从Chrome浏览器在IE窗口中打开链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经看到这里有人问过这个问题 我可以强制在特定链接中打开链接吗?浏览器?

I have seen this question been asked here Can I force a link to open in a specific browser?

我找到了一种可行的解决方案 例如.

I found one solution which works eg.

window.open("microsoft-edge:https://www.google.com");

这适用于Edge,但我正在寻找类似的解决方案以在Internet Explorer中打开.

This works for Edge but I am looking for similar solution to open in Internet Explorer.

尝试
ieiexploreinternet-explorer

我也不能依靠用户在浏览器中安装"open in"扩展名.

Also i cant depend on users installing 'open in' extension in their browser.

由于webapp将在公司系统中运行,因此我可能会选择编辑注册表的方法,但只想在此处查看一下该方法.

I could possibly go down the route of editing registry since webapp will be running in corporate systems , but just wanted to check here before going down that route.

推荐答案

看来IE并未将自身注册为URI方案.

It looks like IE does not register itself as a URI scheme.

为了使应用程序(在这种情况下为浏览器)侦听URI方案,需要在注册表中注册(至少对于Windows).我只是运行了一个小脚本,列出了所有已注册的URI方案,与Edge不同,我看不到任何代表Internet Explorer的东西. (我已经安装了它.)

In order for an application (a browser in this case) to listen to a URI-scheme, it needs to be registered in the Registry (for Windows at least). I just ran a small script listing all the registered URI schemes and unlike Edge, I don't see anything that represents Internet Explorer. (I do have it installed).

当然,最好的方法是完全避免使用Internet Explorer,因为它已被弃用.但是,如果您坚持使用它,则似乎只能自己编辑注册表.

Of course, the best way would be to avoid Internet Explorer completely since it is deprecated. But if you do stick with it, editing the registry yourself seems the only option.

这篇关于尝试从Chrome浏览器在IE窗口中打开链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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