How to check is custom protocol supported
Posted
by Piotr Pankowski
on Stack Overflow
See other posts from Stack Overflow
or by Piotr Pankowski
Published on 2010-05-20T08:28:17Z
Indexed on
2010/05/20
8:30 UTC
Read the original article
Hit count: 247
JavaScript
We are using software that registers its own protocol. We can run application from browser then by link like:
customprotocol://do_this.
but is there a way to check is such custom protocol supported by user`s system? If not we would like to ask user to install software first.
E.g.
if (canHandle ('customprotocol')) {
// run software
}
else {
// ask to install
}
© Stack Overflow or respective owner