admin管理员组

文章数量:1530085

Chrome调用IE

1,第一种方法


Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\openIE]
@="URL:OpenIE Protocol"
"URL Protocol"=""
 
[HKEY_CLASSES_ROOT\openIE\DefaultIcon]
@="iexplore.exe,1"
 
[HKEY_CLASSES_ROOT\openIE\shell]
 
[HKEY_CLASSES_ROOT\openIE\shell\open]
 
[HKEY_CLASSES_ROOT\openIE\shell\open\command]
@="cmd /c set m=%1 & call set m=%%m:openIE:=%% & call \"C:\\Program Files\\Internet Explorer\\iexplore.exe\" %%m%% & exit"

前提是IE的默认安装路径对着,把这段代码拷贝下去,然后保存成注册表,然后运行,在页面中这样使用

<a href="openIE:www.baidu">Chrome调起IE</a>

此时可以打开IE,但是会发现弹窗一个dos黑窗口。所以有第二种方法。

2,第二种方法

下载此文件

alertIE.exe

页面运行方法

<a href="alert:www.baidu">Chrome调起IE</a>

你会发现IE可以打开,dos黑窗口也不会出现。

本文标签: 器中