Gustaf Rosenblad
Gustaf Rosenblad

Reputation: 1922

Can open URL HTML

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

Answers (2)

b. e. hollenbeck
b. e. hollenbeck

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

user1454661
user1454661

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

Related Questions