URI Scheme Redirect

1.4k Views Asked by At

How can I create a special URI scheme to open a link in Internet Explorer from Google Chrome?

For example, if I execute ie:google.com in Chrome, a new window would open in IE with Google's homepage. I've followed the steps in "Registering an Application to a URI Scheme", however it literally passes the string ie:google.com to IE, which IE has no idea what do with.

Essentially I need to remove the the ie: protocol once passed to IE, or setup some sort of protocol redirect to http: in the registry. Is either even possible?

1

There are 1 best solutions below

0
David Budiac On

Since this is an internal app, I can just create a proxy in my internal app to strip out the "ie:" protocol. Registry looks like this...

HKEY_CLASSES_ROOT/
  ie/
    shell/
      open/
        command/
          (Default) "PathToExecutableIE" "ProxyLink?url=%1"

Then, my ProxyLink is a static VB.Net page that strips out the "ie:" part of the string, and redirects.