Posted By

tobinibot on 06/30/06


Tagged

browser


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

luman
panatlantica
vali29
yetanother
colingardom


Detect IE


 / Published in: JavaScript
 

Returns true if the browser is Internet Explorer, false otherwise.

  1. function isIE()
  2. {
  3. return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
  4. }

Report this snippet  

You need to login to post a comment.