title: Differentiate IE7 browser and browser in IE7 compatibility mode
body: <p>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</p>
  
  <ol>
  <li>that browser is IE7</li>
  <li>that browser is in IE7 compatibility mode</li>
  </ol>
  
  <p>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.</p>