mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 08:28:47 +03:00
Added Voice Xtreme Phones detection
This commit is contained in:
parent
6fb4941458
commit
83ca52bb28
@ -673,6 +673,9 @@
|
|||||||
/android.+[;\/]\s*(NS-?.+)\s+build/i // Insignia Tablets
|
/android.+[;\/]\s*(NS-?.+)\s+build/i // Insignia Tablets
|
||||||
], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [
|
], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [
|
||||||
|
|
||||||
|
/android.+[;\/]\s*(Xtreme\_?)?(V(1[045]|2[015]|30|40|60|7[05]|90))\s+build/i
|
||||||
|
], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [ // Voice Xtreme Phones
|
||||||
|
|
||||||
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
|
/\s(tablet)[;\/]/i, // Unidentifiable Tablet
|
||||||
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
|
/\s(mobile)(?:[;\/]|\ssafari)/i // Unidentifiable Mobile
|
||||||
], [[TYPE, util.lowerize], VENDOR, MODEL], [
|
], [[TYPE, util.lowerize], VENDOR, MODEL], [
|
||||||
|
@ -732,4 +732,15 @@
|
|||||||
"type" : "tablet"
|
"type" : "tablet"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
{
|
||||||
|
"desc" : "Voice Xtreme V75",
|
||||||
|
"ua" : "Mozilla/5.0 (Linux; U; Android 4.2.1; en-us; V75 Build/JOP40D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
|
||||||
|
"expect" :
|
||||||
|
{
|
||||||
|
"vendor" : "Voice",
|
||||||
|
"model" : "V75",
|
||||||
|
"type" : "mobile"
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user