Micro-channel can not be downloaded directly in the app solutions, with 366API jump browser download

APP currently supports basic two-dimensional code scanning download. Since the micro-channel is now the mainstream of the chat software, 90% of users are sharing APP by micro-channel, then the packet from the shared link to download apk / ios. But micro-channel will automatically shield containing the installation package file download link, causing the user to open share links in micro letter prompt "has stopped access" to open a can not automatically download. In the absence of any hints, so users do not know is blocked, all thought it was a problem link. This greatly enhance the churn rate, then open the micro letter how to download files automatically downloaded app or go to an external browser to download it? Here are just a workaround 366API for everyone.


 I. First, we talk about the use of 366API platform:
1, we need to use the browser to open the  366API  platform Address: http://www.366api.cn/
2, copy and paste the link into the api tool box, click the Generate Jump short link and two-dimensional code
3, copy and short connections to the micro-channel two-dimensional code to open or scan code to link.


Second, secondly we talk about how to build a micro-channel jumps browser source code:

<style type="text/css">   
    .mask {     
            position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;   
            z-index: 1002; left: 0px;   
            opacity:0.5; -moz-opacity:0.5;   
        }   
</style>  


<pre class="html" name="code"><script type="text/javascript">   
    //兼容火狐、IE8 
    //显示遮罩层  
    function showMask(){   
        $("#mask").css("height",$(document).height());   
        $("#mask").css("width",$(document).width());   
        $("#mask").show();   
    }
        $ ( "# mask") hide ();.   
    function hideMask () {   
    // hide mask layer
    }
        
   
</script>

<div id="mask" class="mask"></div>  
<a href="javascript:;" onclick="showMask()" >点我显示遮罩层</a><br />


Guess you like

Origin blog.51cto.com/14359461/2400427