mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Samsung smarttv misidentified as mobile
This commit is contained in:
parent
d3f959ee28
commit
d0b7c5892f
@ -576,6 +576,8 @@
|
||||
/android.+((sch-i[89]0\d|shw-m380s|gt-p\d{4}|gt-n8000|sgh-t8[56]9|nexus 10))/i,
|
||||
/((SM-T\w+))/i
|
||||
], [[VENDOR, 'Samsung'], MODEL, [TYPE, TABLET]], [ // Samsung
|
||||
/smart-tv.+(samsung)/i
|
||||
], [VENDOR, [TYPE, SMARTTV], MODEL], [
|
||||
/((s[cgp]h-\w+|gt-\w+|galaxy\snexus|sm-\w[\w\d]+))/i,
|
||||
/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i,
|
||||
/sec-((sgh\w+))/i
|
||||
|
@ -199,6 +199,16 @@
|
||||
"type" : "smarttv"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "Samsung SmartTV",
|
||||
"ua" : "Mozilla/5.0 (SMART-TV; Linux; Tizen 2.3) AppleWebkit/538.1 (KHTML, like Gecko) SamsungBrowser/1.0 TV Safari/538.1",
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Samsung",
|
||||
"model" : "undefined",
|
||||
"type" : "smarttv"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "Sony C5303 (Xperia SP)",
|
||||
"ua" : "Mozilla/5.0 (Linux; Android 4.3; C5303 Build/12.1.A.1.205) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.93 Mobile Safari/537.36",
|
||||
|
Loading…
x
Reference in New Issue
Block a user