mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
parent
d4558db0ff
commit
dbdc014300
@ -78,6 +78,13 @@
|
||||
, version: getFirstMatch(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)
|
||||
}
|
||||
}
|
||||
else if (/MZBrowser/i.test(ua)) {
|
||||
result = {
|
||||
name: 'MZ Browser'
|
||||
, mzbrowser: t
|
||||
, version: getFirstMatch(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)
|
||||
}
|
||||
}
|
||||
else if (/coast/i.test(ua)) {
|
||||
result = {
|
||||
name: 'Opera Coast'
|
||||
@ -432,6 +439,7 @@
|
||||
(result.chrome && result.version >= 20) ||
|
||||
(result.samsungBrowser && result.version >= 4) ||
|
||||
(result.whale && compareVersions([result.version, '1.0']) === 1) ||
|
||||
(result.mzbrowser && compareVersions([result.version, '6.0']) === 1) ||
|
||||
(result.firefox && result.version >= 20.0) ||
|
||||
(result.safari && result.version >= 6) ||
|
||||
(result.opera && result.version >= 10.0) ||
|
||||
|
@ -1584,4 +1584,16 @@ module.exports.useragents = {
|
||||
, a: true
|
||||
}
|
||||
}
|
||||
, 'MZ Browser': {
|
||||
'Mozilla/5.0 (Linux; U; Android 6.0; zh-CN; MZ-PRO 6 Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/40.0.2214.89 MZBrowser/6.9.511-2018012510 UWS/2.11.0.33 Mobile Safari/537.36': {
|
||||
osname: 'Android'
|
||||
, mzbrowser: true
|
||||
, android: true
|
||||
, mobile: true
|
||||
, osversion: '6.0'
|
||||
, version: '6.9.511'
|
||||
, blink: true
|
||||
, a: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user