mirror of
https://github.com/chatopera/cosin.git
synced 2025-08-01 16:38:02 +08:00
#25 识别QQBrowser
This commit is contained in:
parent
57c24e0cfd
commit
0446f3a77e
@ -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" ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user