mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
Merge branch 'yconoclast-QupZilla' into develop
This commit is contained in:
commit
4c9689deb4
@ -33,6 +33,7 @@ if (bowser.msie && bowser.version <= 6) {
|
|||||||
* Tizen browser as `tizen`[`webkit`]
|
* Tizen browser as `tizen`[`webkit`]
|
||||||
* Sailfish browser as `sailfish`[`gecko`]
|
* Sailfish browser as `sailfish`[`gecko`]
|
||||||
* UC Browser as `ucbrowser`[`webkit`]
|
* UC Browser as `ucbrowser`[`webkit`]
|
||||||
|
* QupZilla browser as `qupzilla`[`webkit`]
|
||||||
|
|
||||||
For all detected browsers the browser version is set in the `version` field.
|
For all detected browsers the browser version is set in the `version` field.
|
||||||
|
|
||||||
|
@ -184,6 +184,13 @@
|
|||||||
, version: getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || versionIdentifier
|
, version: getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i) || versionIdentifier
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
else if (/qupzilla/i.test(ua)) {
|
||||||
|
result = {
|
||||||
|
name: 'QupZilla'
|
||||||
|
, qupzilla: t
|
||||||
|
, version: getFirstMatch(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i) || versionIdentifier
|
||||||
|
}
|
||||||
|
}
|
||||||
else if (/safari/i.test(ua)) {
|
else if (/safari/i.test(ua)) {
|
||||||
result = {
|
result = {
|
||||||
name: 'Safari'
|
name: 'Safari'
|
||||||
|
@ -1056,4 +1056,20 @@ module.exports.useragents = {
|
|||||||
x: true
|
x: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
, "QupZilla": {
|
||||||
|
'Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) QupZilla/1.8.2 Safari/538.1': {
|
||||||
|
mac: true,
|
||||||
|
qupzilla: true,
|
||||||
|
version: '1.8.2',
|
||||||
|
webkit: true,
|
||||||
|
x: true
|
||||||
|
},
|
||||||
|
'Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) QupZilla/1.8.6 Safari/537.21': {
|
||||||
|
windows: true,
|
||||||
|
qupzilla: true,
|
||||||
|
version: '1.8.6',
|
||||||
|
webkit: true,
|
||||||
|
x: true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user