Reputation: 1922
Can I check if I can open a URL like OBLevel://id=18291234 in JavaScript before I link to it?
Thank you!
Upvotes: 1
Views: 480
Reputation: 6573
Not with Javascript. You'd need to know what sort of applications are available on the computer (other than the browser), which isn't something you can know using Javascript.
Upvotes: 1
Reputation:
Have you tried a GET with jQuery? If there's a answer, then you know you can use it. Otherwise if it's some obscure protocol or application not supported by jQuery, there's no way to do it.
Experiment!
Upvotes: 0