mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Add device detection for Lenovo tablet
Lenovo tablet detection is missing. example userAgent: "Mozilla/5.0 (Linux; Android 4.0.3; IdeaTab A2107A-F Build/ IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Safari/535.19"
This commit is contained in:
parent
3901fbe532
commit
1b3fdf173a
@ -376,7 +376,10 @@
|
||||
/((nexus\s4))/i,
|
||||
/(lg)[e;\s-\/]+(\w+)*/i
|
||||
], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [
|
||||
|
||||
|
||||
/android.+((IdeaTab[A-Za-z0-9\-\s]+))/i // Lenovo
|
||||
], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [
|
||||
|
||||
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
|
||||
], [TYPE, VENDOR, MODEL]
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user