亲测可用,若有疑问请私信
function is_weixin(){
var ua = navigator.userAgent.toLowerCase();
if(ua.match(/MicroMessenger/i)=="micromessenger") {return true;} else {return false;}
}
亲测可用,若有疑问请私信
function is_weixin(){
var ua = navigator.userAgent.toLowerCase();
if(ua.match(/MicroMessenger/i)=="micromessenger") {return true;} else {return false;}
}