1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

fix #100 - Exception with QupZilla

This commit is contained in:
Jose Tavares
2015-10-18 20:21:29 +01:00
parent 5f933390f6
commit d22d9207cb
3 changed files with 24 additions and 1 deletions

View File

@@ -168,6 +168,13 @@
, 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)) {
result = {
name: 'Safari'