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

Fix Chrome mobile detection

fixes #253
This commit is contained in:
Denis Demchenko 2018-09-14 17:44:17 +03:00
parent 4a4e41ccf8
commit 0a149bca7b
2 changed files with 14 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const browsersList = [
/* Opera > 13.0 */
{
test: [/opr|opios/i],
test: [/opr\/|opios/i],
describe(ua) {
const browser = {
name: 'Opera',

View File

@ -268,6 +268,19 @@
vendor: "Nexus"
engine:
name: "Blink"
-
ua: "Mozilla/5.0 (Linux; Android 8.0.0; LG-H870 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36"
spec:
browser:
name: "Chrome"
version: "68.0.3440.91"
os:
name: "Android"
version: "8.0.0"
platform:
type: "mobile"
engine:
name: "Blink"
Amazon Silk:
-
ua: "Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; KFTT Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.4 Mobile Safari/535.19 Silk-Accelerated=true"