We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89a72c2 + f543c5a commit 45bf76aCopy full SHA for 45bf76a
3 files changed
readme.md
@@ -81,7 +81,7 @@ AIX, Amiga OS, Android, Arch, Bada, BeOS, BlackBerry, CentOS, Chromium OS,
81
Contiki, Fedora, Firefox OS, FreeBSD, Debian, DragonFly, Fuchsia, Gentoo, GNU,
82
Haiku, Hurd, iOS, Joli, KaiOS, Linpus, Linux, Mac OS, Mageia, Mandriva, MeeGo,
83
Minix, Mint, Morph OS, NetBSD, Nintendo, OpenBSD, OpenVMS, OS/2, Palm, PC-BSD,
84
-PCLinuxOS, Plan9, Playstation, QNX, RedHat, RIM Tablet OS, RISC OS, Sailfish,
+PCLinuxOS, Plan9, PlayStation, QNX, RedHat, RIM Tablet OS, RISC OS, Sailfish,
85
Series40, Slackware, Solaris, SUSE, Symbian, Tizen, Ubuntu, Unix, VectorLinux,
86
WebOS, Windows [Phone/Mobile], Zenwalk, ...
87
src/ua-parser.js
@@ -692,7 +692,10 @@
692
], [[TYPE, SMARTTV]], [
693
694
/(android[\w\.\s\-]{0,9});.+build/i // Generic Android Device
695
- ], [MODEL, [VENDOR, 'Generic']]
+ ], [MODEL, [VENDOR, 'Generic']], [
696
+
697
+ /(phone)/i,
698
+ ], [[TYPE, MOBILE]]
699
],
700
701
engine : [[
test/device-test.json
@@ -1335,5 +1335,12 @@
1335
"model": "LYA-TL00",
1336
"type": "mobile"
1337
}
1338
+ },
1339
+ {
1340
+ "desc": "FaceBook Mobile App",
1341
+ "ua": "[FBAN/FBIOS;FBAV/283.0.0.44.117;FBBV/238386386;FBDV/iPhone12,1;FBMD/iPhone;FBSN/iOS;FBSV/13.6.1;FBSS/2;FBID/phone;FBLC/en_US;FBOP/5;FBRV/240127608]",
1342
+ "expect": {
1343
+ "type": "mobile"
1344
+ }
1345
1346
]
0 commit comments