使用自定义协议实现Chrome打开IE

Laughing
2018-12-28 / 0 评论 / 1,473 阅读 / 搜一下 / 正在检测是否收录...
温馨提示:
本文最后更新于2025年04月04日,已超过94天没有更新,若内容或图片失效,请留言反馈。

 将下面的内容保存为 .reg 文件,直接运行即可完成协议添加(最后一行的IE地址64位机器会有不同需要修改一下)

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"  

测试方法

<a href="openIE:www.baidu.com">百度</a>
0

评论 (0)

取消
  1. 头像
    你爹
    MacOS · Safari

    倒过来看的吗

    回复
  2. 头像
    FANfan
    MacOS · Google Chrome

    赞一个

    回复