mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 07:58:45 +03:00
Some fixes here and there
This commit is contained in:
parent
82e704cb0e
commit
66bb3bd874
@ -290,7 +290,7 @@
|
|||||||
/(coremedia) v((\d+)[\w\._]+)/i
|
/(coremedia) v((\d+)[\w\._]+)/i
|
||||||
], [NAME, VERSION, MAJOR], [
|
], [NAME, VERSION, MAJOR], [
|
||||||
|
|
||||||
/(aqualung|lyssna|bsplayer)\/([\w\.-]+)/i // Aqualung/Lyssna/BSPlayer
|
/(aqualung|lyssna|bsplayer)\/((\d+)?[\w\.-]+)/i // Aqualung/Lyssna/BSPlayer
|
||||||
], [NAME, VERSION], [
|
], [NAME, VERSION], [
|
||||||
|
|
||||||
/(ares|ossproxy)\s((\d+)[\w\.-]+)/i // Ares/OSSProxy
|
/(ares|ossproxy)\s((\d+)[\w\.-]+)/i // Ares/OSSProxy
|
||||||
@ -330,8 +330,7 @@
|
|||||||
// MPlayer SVN
|
// MPlayer SVN
|
||||||
], [NAME, VERSION], [
|
], [NAME, VERSION], [
|
||||||
|
|
||||||
/(mplayer)(?:\s|\/)((\d+)[\w\.-]+)/i, // MPlayer
|
/(mplayer)(?:\s|\/|[unkow-]+)((\d+)[\w\.-]+)/i, // MPlayer
|
||||||
/(mplayer) unknown-((\d+)[\w\.\-]+)/i // MPlayer UNKNOWN
|
|
||||||
], [NAME, VERSION, MAJOR], [
|
], [NAME, VERSION, MAJOR], [
|
||||||
|
|
||||||
/(mplayer)/i, // MPlayer (no other info)
|
/(mplayer)/i, // MPlayer (no other info)
|
||||||
@ -493,18 +492,17 @@
|
|||||||
/android\s3\.[\s\w-;]{10}((a\d{3}))/i // Acer
|
/android\s3\.[\s\w-;]{10}((a\d{3}))/i // Acer
|
||||||
], [[VENDOR, 'Acer'], MODEL, [TYPE, TABLET]], [
|
], [[VENDOR, 'Acer'], MODEL, [TYPE, TABLET]], [
|
||||||
|
|
||||||
/android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i // LG
|
/android\s3\.[\s\w-;]{10}(lg?)-([06cv9]{3,4})/i // LG Tablet
|
||||||
], [[VENDOR, 'LG'], MODEL, [TYPE, TABLET]], [
|
], [[VENDOR, 'LG'], MODEL, [TYPE, TABLET]], [
|
||||||
/((nexus\s[45]))/i,
|
/(lg) netcast\.tv/i // LG SmartTV
|
||||||
|
], [VENDOR, [TYPE, SMARTTV]], [
|
||||||
|
/((nexus\s[45]))/i, // LG
|
||||||
/(lg)[e;\s-\/]+(\w+)*/i
|
/(lg)[e;\s-\/]+(\w+)*/i
|
||||||
], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [
|
], [[VENDOR, 'LG'], MODEL, [TYPE, MOBILE]], [
|
||||||
|
|
||||||
/android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo
|
/android.+((ideatab[a-z0-9\-\s]+))/i // Lenovo
|
||||||
], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [
|
], [[VENDOR, 'Lenovo'], MODEL, [TYPE, TABLET]], [
|
||||||
|
|
||||||
/(lg) netcast\.tv/i // LG SmartTV
|
|
||||||
], [VENDOR, [TYPE, SMARTTV]], [
|
|
||||||
|
|
||||||
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
|
/(mobile|tablet);.+rv\:.+gecko\//i // Unidentifiable
|
||||||
], [TYPE, VENDOR, MODEL]
|
], [TYPE, VENDOR, MODEL]
|
||||||
],
|
],
|
||||||
|
2
src/ua-parser.min.js
vendored
2
src/ua-parser.min.js
vendored
File diff suppressed because one or more lines are too long
@ -674,7 +674,7 @@
|
|||||||
"ua" : "AppleTV/3.0.2 (Macintosh; Intel Mac OS X 10.4.7) AppleWebKit/528.18",
|
"ua" : "AppleTV/3.0.2 (Macintosh; Intel Mac OS X 10.4.7) AppleWebKit/528.18",
|
||||||
"expect" :
|
"expect" :
|
||||||
{
|
{
|
||||||
"name" : "AppleWebKit",
|
"name" : "WebKit",
|
||||||
"version" : "528.18",
|
"version" : "528.18",
|
||||||
"major" : "528"
|
"major" : "528"
|
||||||
}
|
}
|
||||||
@ -784,7 +784,7 @@
|
|||||||
"ua" : "FLRP/2.5 CFNetwork/609.1.4 Darwin/13.0.0",
|
"ua" : "FLRP/2.5 CFNetwork/609.1.4 Darwin/13.0.0",
|
||||||
"expect" :
|
"expect" :
|
||||||
{
|
{
|
||||||
"name" : "FLRP",
|
"name" : "Flip Player",
|
||||||
"version" : "2.5",
|
"version" : "2.5",
|
||||||
"major" : "2"
|
"major" : "2"
|
||||||
}
|
}
|
||||||
|
@ -205,7 +205,7 @@
|
|||||||
"expect" :
|
"expect" :
|
||||||
{
|
{
|
||||||
"vendor" : "Apple",
|
"vendor" : "Apple",
|
||||||
"model" : "iPhone",
|
"model" : "iPhone 4S",
|
||||||
"type" : "mobile"
|
"type" : "mobile"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user