如何注册伪协议
edit .reg file:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\jinjj] "URL Protocol"="C:\\Program Files\\jinjj\\trans.exe" @="jinjjProtocol" [HKEY_CLASSES_ROOT\jinjj\DefaultIcon] @="C:\\Program Files\\jinjj\\trans.exe,1" [HKEY_CLASSES_ROOT\jinjj\shell] [HKEY_CLASSES_ROOT\jinjj\shell\open] [HKEY_CLASSES_ROOT\jinjj\shell\open\command] @="\"C:\\Program Files\\jinjj\\trans.exe" \"%1\""
在浏览器地址栏中键入:jinjj://1234
启动注册表中路径下的程序!