mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 15:11:50 +03:00
Backport - Add new device vendor: TCL
(cherry picked from commit ac3a3c33dc)
This commit is contained in:
@@ -535,6 +535,10 @@
|
||||
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony
|
||||
], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [
|
||||
|
||||
// TCL
|
||||
/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i
|
||||
], [MODEL, [VENDOR, 'TCL'], [TYPE, TABLET]], [
|
||||
|
||||
// Acer
|
||||
/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i
|
||||
], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [
|
||||
|
||||
Reference in New Issue
Block a user