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
Post a Comment