The HTML5 page determines whether to install an app


General applications can be opened through scheme;

<a href="goto://" ></a>

First, judge the mobile browser;

Try to open the app;

If it times out, go to the download page.

        var the_ A). Attr ("a"); // get a download link
        If ( ua.match (/ micromessanger / I) = = = micromessage ") {// open wechat
            $(". Box BG"). Show(); // wechat opens the floating layer. Wechat does not support scheme to open non Penguin applications
        }else {  
            window.location.href=the_ A certain app on a mobile phone is opened
                window.location.href= " "; // if it times out, jump to the app download page