Posted By

jschilling on 02/26/10


Tagged

javascript browser IE8 sniffing


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

johnloy


Detect IE8


 / Published in: JavaScript
 

URL: http://www.six-degrees.com/six-degrees.html

a quick and complete method of detecting IE8

  1. var isIE8 = function() {
  2. return !!( (/msie 8./i).test(navigator.appVersion) && !(/opera/i).test(navigator.userAgent) && window.ActiveXObject && XDomainRequest && !window.msPerformance );
  3. });

Report this snippet  

You need to login to post a comment.