custom-protocol-detection icon indicating copy to clipboard operation
custom-protocol-detection copied to clipboard

Detect whether a custom protocol is available in browser (FF, Chrome, IE8, IE9, IE10, IE11, and Edge)

Results 28 custom-protocol-detection issues
Sort by recently updated
recently updated
newest added

For the Firefox-Version 64.0 the check stopped working. The Function openUriUsingFirefox should throw an Exception in Lines 85/86 if the protocol is not available, but in this version of firefox...

![Capture11](https://user-images.githubusercontent.com/77261819/185354442-b6f1d656-b4bd-4979-947f-4e14524bebec.PNG) Please help

uri随便传值,iframe.contentWindow.location.href = uri ,传入的值能打开软件就打开软件,打不开软件什么都不做,也不触发失败的回调

If protocol is defined and it is associated with an executable, browser shows an alert in order to accept or deny the execution. I think that alert causes the timeout...

chrome 95 and Official example Has anyone encountered this situation? Can this library be used on iframe pages? ![屏幕截图 2021-11-13 151924](https://user-images.githubusercontent.com/49404132/141610067-6e9ce3fd-1860-4b1a-9034-c9a5dbd71f93.png) ![image](https://user-images.githubusercontent.com/49404132/141610092-7f87f24d-42c7-4bd4-b87e-603c60470911.png)

function openUriWithTimeoutHack(uri, failCb, successCb) { var timeout = setTimeout(function () { failCb(); handler.remove(); }, 1000); //handle page running in an iframe (blur must be registered with top level window) var...

Closes #35 Accepts a new `timeouts` object that contains several properties that can be used to adjust behavior for slower protocol handlers.