add Epiphany browser

fix #130
pull/145/head
Denis Demchenko 8 years ago
parent 40fc55f393
commit b9edb72e2f

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

@ -1179,4 +1179,13 @@ module.exports.useragents = {
, 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
}
}
}

Loading…
Cancel
Save