mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-28 00:18:45 +03:00
Add Device: Surface Duo
This commit is contained in:
parent
afe62e915d
commit
cd61aef07d
@ -521,7 +521,8 @@
|
|||||||
/droid.+(vodafone)\s([\w\s]+)\)/i // Vodafone
|
/droid.+(vodafone)\s([\w\s]+)\)/i // Vodafone
|
||||||
], [VENDOR, MODEL, [TYPE, TABLET]], [
|
], [VENDOR, MODEL, [TYPE, TABLET]], [
|
||||||
|
|
||||||
|
/\s(surface\sduo)\s/i // Surface Duo
|
||||||
|
], [MODEL, [VENDOR, 'Microsoft'], [TYPE, TABLET]], [
|
||||||
/\s(U304AA)\sbuild/i // AT&T
|
/\s(U304AA)\sbuild/i // AT&T
|
||||||
], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [
|
], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [
|
||||||
/sie-(\w*)/i // Siemens
|
/sie-(\w*)/i // Siemens
|
||||||
|
@ -214,6 +214,15 @@
|
|||||||
"type": "mobile"
|
"type": "mobile"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"desc": "Microsoft Surface Duo",
|
||||||
|
"ua": "Dalvik/2.1.0 (Linux; U; Android 10; Surface Duo Build/2020.1014.61)",
|
||||||
|
"expect": {
|
||||||
|
"vendor": "Microsoft",
|
||||||
|
"model": "Surface Duo",
|
||||||
|
"type": "tablet"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"desc": "Motorola Moto X",
|
"desc": "Motorola Moto X",
|
||||||
"ua": "Mozilla/5.0 (Linux; Android 4.4.4; XT1097 Build/KXE21.187-38) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.109 Mobile Safari/537.36",
|
"ua": "Mozilla/5.0 (Linux; Android 4.4.4; XT1097 Build/KXE21.187-38) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.109 Mobile Safari/537.36",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user