detect IE11, part of ticket #1917
This commit is contained in:
parent
e3ee66fe08
commit
38853b1f4b
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,8 @@ UA_NAMES = {
|
||||||
'konqueror': 'Konqueror',
|
'konqueror': 'Konqueror',
|
||||||
'Mozilla': 'Netscape',
|
'Mozilla': 'Netscape',
|
||||||
'MSIE': 'Internet Explorer',
|
'MSIE': 'Internet Explorer',
|
||||||
'NokiaBrowser': 'Nokia Browser'
|
'NokiaBrowser': 'Nokia Browser',
|
||||||
|
'Trident': 'Internet Explorer'
|
||||||
},
|
},
|
||||||
'robot': {},
|
'robot': {},
|
||||||
'system': {
|
'system': {
|
||||||
|
@ -106,6 +107,7 @@ UA_REGEXPS = {
|
||||||
'Version\/(\d+).+(Safari)',
|
'Version\/(\d+).+(Safari)',
|
||||||
'(WebKit)\/(\d+)',
|
'(WebKit)\/(\d+)',
|
||||||
'(MSIE) (\d\d?(?!\d))', # last, since Opera used to mask as MSIE
|
'(MSIE) (\d\d?(?!\d))', # last, since Opera used to mask as MSIE
|
||||||
|
'(Trident)\/.*?rv:(\d+)',
|
||||||
'(Gecko)',
|
'(Gecko)',
|
||||||
'(Mozilla)\/(3|4)'
|
'(Mozilla)\/(3|4)'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue