mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
parent
6f218f1ac7
commit
e44ca1de6e
@ -321,7 +321,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// set OS flags for platforms that have multiple browsers
|
// set OS flags for platforms that have multiple browsers
|
||||||
if (!result.msedge && (android || result.silk)) {
|
if (!result.windowsphone && !result.msedge && (android || result.silk)) {
|
||||||
result.android = t
|
result.android = t
|
||||||
} else if (iosdevice) {
|
} else if (iosdevice) {
|
||||||
result[iosdevice] = t
|
result[iosdevice] = t
|
||||||
|
@ -936,6 +936,14 @@ module.exports.useragents = {
|
|||||||
, mobile: true
|
, mobile: true
|
||||||
, a: true
|
, a: true
|
||||||
}
|
}
|
||||||
|
, 'Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Lumia 535)': {
|
||||||
|
windowsphone: true
|
||||||
|
, osversion: '8.1'
|
||||||
|
, msie: true
|
||||||
|
, version: '11.0'
|
||||||
|
, mobile: true
|
||||||
|
, a: true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
, WebOS: {
|
, WebOS: {
|
||||||
'Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.5; U; en-US) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 TouchPad/1.0': {
|
'Mozilla/5.0 (hp-tablet; Linux; hpwOS/3.0.5; U; en-US) AppleWebKit/534.6 (KHTML, like Gecko) wOSBrowser/234.83 Safari/534.6 TouchPad/1.0': {
|
||||||
|
Loading…
Reference in New Issue
Block a user