<div id="android_download" class="app" style="display:none"><a href="#">APP下载</a></div>
            <script>
                if(navigator.userAgent.indexOf("Kenfor")==-1 && navigator.userAgent.indexOf("Android")!=-1){
                    document.getElementById("android_download").style.display = "block";
                }
            </script>
            <div id="iphone_download" class="app" style="display:none"><a href="#">APP下载</a></div>    
            <script>
                if(navigator.userAgent.indexOf("kenfor")==-1 && navigator.userAgent.indexOf("iPhone")!=-1){
                    document.getElementById("iphone_download").style.display = "block";
                }
            </script>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
猜你喜欢
  • 2021-12-22
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案