detect IE11, part of ticket #1917

This commit is contained in:
j 2013-10-24 00:24:13 +02:00
parent e3ee66fe08
commit 38853b1f4b

View file

@ -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)'
],