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',
|
||||
'Mozilla': 'Netscape',
|
||||
'MSIE': 'Internet Explorer',
|
||||
'NokiaBrowser': 'Nokia Browser'
|
||||
'NokiaBrowser': 'Nokia Browser',
|
||||
'Trident': 'Internet Explorer'
|
||||
},
|
||||
'robot': {},
|
||||
'system': {
|
||||
|
@ -106,6 +107,7 @@ UA_REGEXPS = {
|
|||
'Version\/(\d+).+(Safari)',
|
||||
'(WebKit)\/(\d+)',
|
||||
'(MSIE) (\d\d?(?!\d))', # last, since Opera used to mask as MSIE
|
||||
'(Trident)\/.*?rv:(\d+)',
|
||||
'(Gecko)',
|
||||
'(Mozilla)\/(3|4)'
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue