从 Chrome 中的链接启动 IE [英] Launch IE from a link in Chrome

查看:65
本文介绍了从 Chrome 中的链接启动 IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Chrome 中有一个链接,例如

I want to have a link in Chrome e.g.

打开链接

当您在 Chrome 浏览器中单击它时,它会在 IE 窗口中启动链接.

that when you click on it in the Chrome Browser that it launches the link in an IE window.

谁能解释一下如何做到这一点.我相信这是可能的,可能涉及在注册表中添加一些设置

Can anyone explain how to do this. I believe it is possible and may involve adding some settings in the registry

ps:我不能使用任何浏览器扩展,例如IETab 或任何一个.它必须在机器上启动 IE.

ps: I can't use any browser extension e.g. IETab or any of this. It has to launch the IE on the machine.

推荐答案

好的,所以我做了以下工作:

Ok so I did the following which works :

HKEY_CLASSES_ROOT
   alert
      (Default) = "URL:Alert Protocol"
      URL Protocol = ""
      DefaultIcon
         (Default) = "iexplore.exe,1"
      shell
         open
            command
               (Default) = cmd /k set myvar=%1 & call set myvar=%%myvar:alert:=%% & call "C:Program Files (x86)Internet Exploreriexplore.exe" %%myvar%% & exit /B

然后有你的链接

<a href="alert:www.google.ie">link</a>

这篇关于从 Chrome 中的链接启动 IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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