javascript - How to detect whether a protocol is supported through web browser? -
Similar to iTunes "link maker" (). Through the web browser, the iTunes webpage is able to know that if itms: //
has been registered on the client workstation, so look for the correct message ('iTunes' or 'Download iTunes' Promotional banner) has been displayed.
How is this done?
Unfortunately, there's really no easy way to do this. ITunes actually uses the following to find out. With the code you can see that they use a browser plug-in inside each web browser to complete it.
In Internet Explorer, there is a feature through the property, which can be used, but clearly this browser is unique
Other hacks may also be available, but I think some sort of solution will be a definite solution on the browser plug-in.
Comments
Post a Comment