mumuy / browser

浏览器检测 - Useragent分析/浏览器识别/浏览器判断/UA解析/用户代理信息/Useragent analysis tool/Browser detection
https://passer-by.com/browser/
MIT License
1.5k stars 327 forks source link

mac下的QQ浏览器会被识别为QQ且无浏览器版本信息 #88

Closed Dorisfhy closed 1 month ago

Dorisfhy commented 2 months ago

navigator.userAgent信息如下:'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 QQBrowser/5.0.6.205'

JSON.stringify(navigator.userAgentData)信息如下: '{"brands":[{"brand":"(Not(A:Brand","version":"8"},{"brand":"Chromium","version":"98"}],"mobile":false}'

-------------关于QQ浏览器----------------------------------- QQ浏览器 版本 5.0.6.205(正式版本) (arm64) 内核 Chromium 98.0.4758.102

mumuy commented 2 months ago

你用的是旧版吧?这个问题再之前修复过 https://github.com/mumuy/browser/commit/ed5f599cf4d11f87a6ae618285dad910d7fb5541