1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

#25 识别QQBrowser

This commit is contained in:
mukaiu 2018-09-05 14:48:51 +08:00
parent 57c24e0cfd
commit 0446f3a77e

View File

@ -418,7 +418,10 @@ public class UKTools {
os = "UnKnown";
}
//===============Browser===========================
if (user.contains("msie") || user.indexOf("rv:11") > -1)
if(user.contains("qqbrowser"))
{
browser = "QQBrowser" ;
}else if (user.contains("msie") || user.indexOf("rv:11") > -1)
{
if(user.indexOf("rv:11") >= 0){
browser = "IE11" ;