mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
parent
0b120a860c
commit
4ac5b4e14d
@ -51,7 +51,14 @@
|
|||||||
result = {
|
result = {
|
||||||
name: 'Opera'
|
name: 'Opera'
|
||||||
, opera: t
|
, opera: t
|
||||||
, version: versionIdentifier || getFirstMatch(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)
|
, version: versionIdentifier || getFirstMatch(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (/coast/i.test(ua)) {
|
||||||
|
result = {
|
||||||
|
name: 'Opera Coast'
|
||||||
|
, coast: t
|
||||||
|
, version: versionIdentifier || getFirstMatch(/(?:coast)[\s\/](\d+(\.\d+)?)/i)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (/yabrowser/i.test(ua)) {
|
else if (/yabrowser/i.test(ua)) {
|
||||||
|
@ -291,6 +291,18 @@ module.exports.useragents = {
|
|||||||
, c: true
|
, c: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
, 'Opera Coast': {
|
||||||
|
'Mozilla/5.0 (iPhone; CPU iPhone OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Coast/5.02.99991 Mobile/13E238 Safari/7534.48.3': {
|
||||||
|
coast: true
|
||||||
|
, version: '5.02'
|
||||||
|
, osversion: '9.3.1'
|
||||||
|
, iphone: true
|
||||||
|
, ios: true
|
||||||
|
, mobile: true
|
||||||
|
, a: true
|
||||||
|
, webkit: true
|
||||||
|
}
|
||||||
|
}
|
||||||
, 'Yandex Browser': {
|
, 'Yandex Browser': {
|
||||||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 YaBrowser/15.4.2272.3420 (beta) Yowser/2.0 Safari/537.36': {
|
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.118 YaBrowser/15.4.2272.3420 (beta) Yowser/2.0 Safari/537.36': {
|
||||||
yandexbrowser: true
|
yandexbrowser: true
|
||||||
|
Loading…
Reference in New Issue
Block a user