标签:alert match net navig win ESS 客户 rom mes
<script>
var ua= window.navigator.userAgent.toLowerCase();
if( (ua.match(/MicroMessenger/i) == ‘micromessenger‘) && (ua.match(/wxwork/i) == ‘wxwork‘) ){
alert("企业微信客户端");
}else if( ua.match(/micromessenger/i) == ‘micromessenger‘ ){
alert("微信客户端");
}
</script>
---------------------
原文:https://blog.csdn.net/hrf368246980/article/details/83055671
标签:alert match net navig win ESS 客户 rom mes
原文地址:https://www.cnblogs.com/wxcbg/p/10130627.html