标签:
1.服务端判断
Request.Headers["User-Agent"].Contains("MicroMessenger")
2.客户端js判断
var ua = navigator.userAgent.toLowerCase();
if (ua.match(/MicroMessenger/i) == "micromessenger") {
} else {
}
标签:
原文地址:http://www.cnblogs.com/lihongchen/p/4500225.html