Differentiate IE7 browser and browser in IE7 compatibility mode
问题 Can I differentiate if client\'s browser is IE7 or e.g. IE9 in IE7 compatibility mode? I\'m trying to figure out if I can do a JS check on my site which would recognize two different things and do different stuff depending on the result that browser is IE7 that browser is in IE7 compatibility mode I have the first condition working correctly as it\'s pretty much said everywhere how to do it. Not sure about the second one and/or combination of both. 回答1: For at least IE8 and IE9, you can check