Posted By

jschilling on 01/20/11


Tagged

object browser detection sniffing


Versions (?)

Detect IE7


 / Published in: JavaScript
 

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

just a quick and dirty IE7 test

  1. var isIE7 = function() {
  2. return !!(document.all && (/msie 7./i).test(navigator.appVersion) && !(/opera/i).test(navigator.userAgent) && window.ActiveXObject && typeof XDomainRequest != 'undefined' );
  3. }

Report this snippet  

You need to login to post a comment.