Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Is there a way to check in chrome is such custom protocol supported without depends on windows blur ?
Is there a way to check in opera is such custom protocol supported ?

What I have tried:

I tried this code but it is not working

window.setTimeout(function () {
try {
iframe.contentWindow.location = "randomprotocolstring://test/";
} catch (e) {
alert("not") ;
}
}, 0);
Posted
Updated 8-Apr-16 8:41am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900