How to detect browser's protocol handlers?

Posted by CJCraft.com on Stack Overflow See other posts from Stack Overflow or by CJCraft.com
Published on 2009-05-07T20:10:19Z Indexed on 2010/05/10 20:34 UTC
Read the original article Hit count: 622

Filed under:
|
|
|

I have created a custom URL protocol handler.

http://

mailto://

custom://

I have registered a WinForms application to respond accordingly. This all works great.

But I would like to be able to gracefully handle the case where the user doesn't have the custom URL protocol handler installed, yet.

In order to be able to do this I need to be able to detect the browser's registered protocol handlers, I would assume from JavaScript. But I have been unable to find a way to poll for the information. I am hoping to find a solution to this problem.

Thanks for any ideas you might be able to share.

© Stack Overflow or respective owner

Related posts about protocols

Related posts about moniker