mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Added Trinity Tablets detection
This commit is contained in:
parent
72a11e24b2
commit
a6316f02b0
@ -685,6 +685,9 @@
|
||||
/android.+[;\/]\s*(Trio[\s\-]*.*)\s+build/i // MachSpeed Tablets
|
||||
], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [
|
||||
|
||||
/android.+[;\/]\s*(Trinity)[\-\s]*(T\d{3})\s+build/i // Trinity Tablets
|
||||
], [VENDOR, MODEL, [TYPE, TABLET]], [
|
||||
|
||||
/android.+[;\/]\s*TU_(1491)\s+build/i // Rotor Tablets
|
||||
], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [
|
||||
|
||||
|
@ -787,4 +787,15 @@
|
||||
"type" : "tablet"
|
||||
}
|
||||
}
|
||||
,
|
||||
{
|
||||
"desc" : "Trinity Tablets",
|
||||
"ua" : "Mozilla/5.0 (Linux; Android 5.0.1; Trinity T101 Build/LRX22C) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.83 Safari/537.36",
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Trinity",
|
||||
"model" : "T101",
|
||||
"type" : "tablet"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user