function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i ) == ‘micromessenger‘ ){ return true; } else{ return false; } }
原文地址:https://www.cnblogs.com/light-zhang/p/8443962.html
时间: 2024-11-05 22:45:38
function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i ) == ‘micromessenger‘ ){ return true; } else{ return false; } }
原文地址:https://www.cnblogs.com/light-zhang/p/8443962.html