mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
add support of Maxthon browser on iOS
This commit is contained in:
parent
35f635b845
commit
e55dd78792
@ -68,6 +68,13 @@
|
||||
, version: getFirstMatch(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)
|
||||
}
|
||||
}
|
||||
else if (/mxios/i.test(ua)) {
|
||||
result = {
|
||||
name: 'Maxthon'
|
||||
, maxthon: t
|
||||
, version: getFirstMatch(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)
|
||||
}
|
||||
}
|
||||
else if (windowsphone) {
|
||||
result = {
|
||||
name: 'Windows Phone'
|
||||
|
@ -1145,4 +1145,16 @@ module.exports.useragents = {
|
||||
x: true
|
||||
}
|
||||
}
|
||||
, 'Maxthon': {
|
||||
'Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13E238 Safari/601.1 MXiOS/4.8.6.59': {
|
||||
mobile: true
|
||||
, ios: true
|
||||
, iphone: true
|
||||
, version: '4.8.6.59'
|
||||
, osversion: '9.3.1'
|
||||
, webkit: true
|
||||
, maxthon: true
|
||||
, a: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user