How To Tell Whether a Protocol is Valid In Javascript -


possible duplicate:
how detect browser's protocol handlers?

a software (non-browser based) installs custom protocol when installed. thus, if software installed on system, putting link looks

<a href="mycustomprotocol:///foobar">launch program!</a>  

in web page launches software when clicked (after putting warning of course).

if software not installed want dynamically change element browser not try launch it.

is there way in javascript detect whether protocol valid? work in @ least firefox, ie, chrome , safari.

thanks

there no way javascript access user's desktop file system or registry validate custom protocol.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -