update parseUserAgent
This commit is contained in:
parent
67521edc8d
commit
e9ea876f88
1 changed files with 3 additions and 1 deletions
|
@ -325,7 +325,7 @@ Ox.parseUserAgent = function(userAgent) {
|
|||
/(Linux).+(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS)/,
|
||||
/(CentOS|CrOS|Debian|Fedora|Gentoo|Mandriva|MeeGo|Mint|Red Hat|SUSE|Ubuntu|webOS).+(Linux)/,
|
||||
/(Linux)/,
|
||||
/(Mac OS X) (10.\d)/,
|
||||
/(Mac OS X) (10.\d+)/,
|
||||
/(Mac OS X)/,
|
||||
/(Macintosh)/,
|
||||
/(SymbianOS)\/(\d+)/,
|
||||
|
@ -352,6 +352,8 @@ Ox.parseUserAgent = function(userAgent) {
|
|||
'10.6': '10.6 (Snow Leopard)',
|
||||
'10.7': '10.7 (Lion)',
|
||||
'10.8': '10.8 (Mountain Lion)',
|
||||
'10.9': '10.9 (Mavericks)',
|
||||
'10.10': '10.10 (Yosemite)',
|
||||
'CrOS': 'Chrome OS',
|
||||
'NT 4.0': 'NT 4.0 (Windows NT)',
|
||||
'NT 4.1': 'NT 4.1 (Windows 98)',
|
||||
|
|
Loading…
Reference in a new issue