对于前端来说浏览器判断是必不可少的,可是占据着中国浏览器市场一大半的 360 浏览器却因为屏蔽了自身 UA 等特性无法判断
经过探索,终于…………还是让我找到了! http://passer-by.com/browser/
1
fhefh 2018-01-24 18:14:54 +08:00
|
2
yichinzhu 2018-01-24 18:32:40 +08:00
navigator.userAgent 里面有啊,360SE 是安全浏览器,360EE 是极速浏览器
|
3
gclove 2018-01-24 18:37:14 +08:00
哪里屏蔽了... 没有屏蔽啊
|
4
Athrob 2018-01-24 18:50:31 +08:00
前端要团结起来, 凡是 IE 和国产套壳浏览器都直接显示 404
|
7
xspoco 2018-01-24 20:38:50 +08:00
浏览器 版本 内核 操作系统 设备 语言
360EE 9.0 WebKit Windows 7 PC zh_CN |
8
loveminds 2018-01-24 23:41:10 +08:00 1
@Athrob 360 的 Chrome"套壳"版本已经相当高了...还是别整天没事找事给用户添麻烦了吧
360 极速浏览器 9.5.0.116 browser:360EE Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 360 安全浏览器 9.2.0.226 browser:360SE version:9.1 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 QQ 浏览器 10.0 browser:QQBrowser version:10.0.654.400 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.26 Safari/537.36 Core/1.63.4737.400 QQBrowser/10.0.654.400 猎豹浏览器 v6.5.115.18214.8001 browser:LBBROWSER Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 LBBROWSER 2345 加速浏览器 browser:2345Explorer version:9.2.0.17104 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.90 Safari/537.36 2345Explorer/9.2.0.17104 UC 浏览器 6.2.3964.2 browser:UC version:6.2.3964.2 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 UBrowser/6.2.3964.2 Safari/537.36 搜狗浏览器 7.5.5.26904 browser:Sogou version:2.x Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.221 Safari/537.36 SE 2.X MetaSr 1.0 百度浏览器 8.7.5000.4980 browser:Baidu version:8.7 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 BIDUBrowser/8.7 Safari/537.36 |
10
loveminds 2018-01-24 23:52:26 +08:00
Firefox 中国版 58.0
browser:Firefox version:58.0 Mozilla/5.0 (Windows NT 10.0; WOW64; rv:58.0) Gecko/20100101 Firefox/58.0 Opera 中国版 50.0.2762.67 browser:Opera version:50.0.2762.67 Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 OPR/50.0.2762.67 |
11
loveminds 2018-01-24 23:55:35 +08:00
Edge 41
browser:Edge version:16.16299 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299 |
15
huaxing0211 2019-03-09 13:09:19 +08:00
360 的 ua,懒得说……
|
16
iawes 2020-06-23 10:24:44 +08:00
这个判断的思路是什么呢?能区分现在很多 APP 也在 UA 里面填的乱七八糟的字段吗?
|