custom-protocol-detection
custom-protocol-detection copied to clipboard
Detect whether a custom protocol is available in browser (FF, Chrome, IE8, IE9, IE10, IE11, and Edge)
https://beakerbrowser.com/ is an electron app, it mostly works like Chrome but window.chrome isn't defined. With this patch, your module works in Beaker too, and probably other Electron apps.
This project definitely need automated tests which will check the functionality on various browsers. Manual tests are too error prone and time consuming. What I have in mind: - Something...
Consider change below. This is because if protocol is registered but app is not there then firefox throws another error e.name==NS_ERROR_FAILURE ``` if (e.name == "NS_ERROR_UNKNOWN_PROTOCOL") { failCb(); } ```...
some user might be want to get failed callback on not supported browser.
**Steps:** 1. Create and open in IE following index.html file: ``` function test() { protocolCheck('blablabla', function() { alert("Failure!"); }, function() { alert("Success!"); } ); } Test ``` 2. Open file...
Protocol detection in IE11 in Windows 7 doesn't work Html page: ``` protocolCheck('mytest:100:1', function() { console.log("Failure!"); }, function() { console.log("Success!"); } ); ``` My application successfully launches a new window,...
Check for custom identifier in navigator.userAgent in pre-Windows 8 IE tests. This works if your custom protocol handler had the ability to add a custom string to the IE userAgent...
SEP: Symantec Endpoint Portection 11 with latest virus definitions.