mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Added Insignia Tablets detection
This commit is contained in:
parent
48ab3b372c
commit
6fb4941458
@ -670,6 +670,9 @@
|
||||
/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i // Dragon Touch Tablet
|
||||
], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [
|
||||
|
||||
/android.+[;\/]\s*(NS-?.+)\s+build/i // Insignia Tablets
|
||||
], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [
|
||||
|
||||
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
|
||||
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
|
||||
], [[TYPE, util.lowerize], VENDOR, MODEL], [
|
||||
|
@ -721,4 +721,15 @@
|
||||
"type" : "tablet"
|
||||
}
|
||||
}
|
||||
,
|
||||
{
|
||||
"desc" : "Insignia Tablet",
|
||||
"ua" : "Mozilla/5.0 (Linux; U; Android 6.0.1; NS-P08A7100 Build/MMB29M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/56.0.2924.87 Safari/537.36",
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Insignia",
|
||||
"model" : "NS-P08A7100",
|
||||
"type" : "tablet"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user