电脑端微信user-agent字符串

 电脑端微信user-agent如何,包含了WindowsWechat关键字

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 MicroMessenger/6.5.2.501 NetType/WIFI WindowsWechat QBCore/3.43.884.400 QQBrowser/9.0.2524.400

 

  手机端微信user-agent如下,不包含WindowsWechat,所以可以通过WindowsWechat关键字区分是否手机端还是pc端微信

Mozilla/5.0 (Linux; Android 7.1.1; 1707-A01 Build/NMF26X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/6.2 TBS/044304 Mobile Safari/537.36 MicroMessenger/6.6.7.1321(0x26060739) NetType/WIFI Language/zh_CN


原创文章,转载请注明出处:电脑端微信user-agent字符串

评论(0)Web开发网
阅读(18)喜欢(0)JavaScript/Ajax开发技巧