标签:als func lower 判断 == match false use pre
function isWeiXin(){ var ua = window.navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i) == ‘micromessenger‘){ return true; }else{ return false; } }
标签:als func lower 判断 == match false use pre
原文地址:http://www.cnblogs.com/SunSong/p/6801175.html