1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

add Epiphany browser

fix #130
This commit is contained in:
Denis Demchenko 2016-05-09 09:17:46 +03:00
parent 40fc55f393
commit b9edb72e2f
2 changed files with 16 additions and 0 deletions

View File

@ -82,6 +82,13 @@
, version: getFirstMatch(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i) , version: getFirstMatch(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)
} }
} }
else if (/epiphany/i.test(ua)) {
result = {
name: 'Epiphany'
, epiphany: t
, version: getFirstMatch(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)
}
}
else if (windowsphone) { else if (windowsphone) {
result = { result = {
name: 'Windows Phone' name: 'Windows Phone'

View File

@ -1179,4 +1179,13 @@ module.exports.useragents = {
, a: true , a: true
} }
} }
, 'Epiphany': {
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/602.1 (KHTML, like Gecko) Version/8.0 Safari/602.1 Debian/buildd-unstable (3.18.5-1) Epiphany/3.18.5': {
epiphany: true
, x: true
, webkit: true
, version: '3.18.5'
, linux: true
}
}
} }