Merge pull request #228 from arturom/develop

Added Google Chromemast detection
This commit is contained in:
Faisal Salman 2017-05-15 00:38:11 +07:00 committed by GitHub
commit 946ba02c54
2 changed files with 13 additions and 0 deletions

View File

@ -626,6 +626,9 @@
/android.+;\s(oppo)\s?([\w\s]+)\sbuild/i // OPPO
], [VENDOR, MODEL, [TYPE, MOBILE]], [
/crkey/i // Google Chromecast
], [[MODEL, 'Chromecast'], [VENDOR, 'Google']], [
/android.+;\s(glass)\s\d/i // Google Glass
], [MODEL, [VENDOR, 'Google'], [TYPE, WEARABLE]], [

View File

@ -490,6 +490,16 @@
"type" : "mobile"
}
}
,
{
"desc" : "Google Chromecast",
"ua" : "Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.84 Safari/537.36 CrKey/1.22.79313",
"expect" :
{
"vendor" : "Google",
"model" : "Chromecast"
}
}
,
{
"desc" : "Google Pixel C",