windows - Open Internet Explorer from Chrome using a protocol handler (ie:url) -
i've followed these steps , doesn't work correctly me. custom protocol handler in chrome
basically, don't have custom app. want create handler open ie specific url.
here reg:
windows registry editor version 5.00 [hkey_current_user\software\classes\ie] "url protocol"="\"\"" @="\"url:ie protocol\"" [hkey_current_user\software\classes\ie\defaulticon] @="\"explorer.exe,1\"" [hkey_current_user\software\classes\ie\shell] [hkey_current_user\software\classes\ie\shell\open] [hkey_current_user\software\classes\ie\shell\open\command] @="\"c:\\program files\\internet explorer\\iexplore.exe\" \"%1\""
it's working but... when i'm opening ie:www.google.com chrome, ask open ie keeps "ie:" in opened url... generate endless loop.
how can fix that?
thanks
create protocol handler
save script internet-explorer-protocol-handler.reg
:
windows registry editor version 5.00 [hkey_current_user\software\classes\ie] "url protocol"="\"\"" @="\"url:ie protocol\"" [hkey_current_user\software\classes\ie\defaulticon] @="\"explorer.exe,1\"" [hkey_current_user\software\classes\ie\shell] [hkey_current_user\software\classes\ie\shell\open] [hkey_current_user\software\classes\ie\shell\open\command] @="cmd /k set myvar=%1 & call set myvar=%%myvar:ie:=%% & call \"c:\\program files (x86)\\internet explorer\\iexplore.exe\" %%myvar%% & exit /b"
then run script install keys in registry. this:
now links use ie:
protocol open in internet explorer.
<a href="ie:https://www.google.com/">google</a>
Comments
Post a Comment