mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-16 15:11:50 +03:00
Added Dragon-Touch Tablets detection
This commit is contained in:
committed by
Nikhil Motiani
parent
38c409e8d9
commit
48ab3b372c
@@ -666,6 +666,10 @@
|
||||
/android.+[;\/]\s*((Zeki)?TB.*\b)\s+build/i // Zeki Tablets
|
||||
], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [
|
||||
|
||||
/(android).+[;\/]\s+([YR]\d{2}x?.*)\s+build/i,
|
||||
/android.+[;\/]\s+(Dragon[\-\s]+Touch\s+|DT)(.+)\s+build/i // Dragon Touch Tablet
|
||||
], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [
|
||||
|
||||
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
|
||||
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
|
||||
], [[TYPE, util.lowerize], VENDOR, MODEL], [
|
||||
|
||||
Reference in New Issue
Block a user