//是否在微信内打开  
        function isWeixin() {  
            var ua = navigator.userAgent.toLowerCase();  
            if (ua.match(/MicroMessenger/i) == "micromessenger") {  
                return true;  
            } else {  
                return false;  
            }  
        }

 

相关文章:

  • 2022-12-23
  • 2021-11-18
  • 2021-07-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
  • 2021-10-30
  • 2021-12-17
相关资源
相似解决方案