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.
if (canHandle ('customprotocol')) {
// run software
}
else {
// ask to install
}
I know this question exists, but it is very old and dates back to 2010
I tried with window.onblur, with a timeout function, but I wasn’t successful. I know that iframe doesn’t have an error callback, so all options were unsuccessful.