title: Check if IE8 with pure Javascript
body: <p>I used to check it this way:</p>
  
  <pre><code>$.browser.msie &amp;&amp; $.browser.version == 8
  </code></pre>
  
  <p>But it seems that <code>$.browser</code> has been removed from the later versinos of jQuery,</p>
  
  <p>So,</p>
  
  <p>How can I check that with just pure javascript?</p>
  
  <p>I tried:</p>
  
  <p><code>isIE8: navigator.appVersion.indexOf("MSIE 8") &gt; 0</code></p>
  
  <p>Wich seems to Do it, but it doesn't look that good and actually looks like it have many flaws...</p>
  
  <p>Any better aproach?</p>