Posted By

cczona on 03/25/08


Tagged

javascript ie browser


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

joomla
brainphat


IE sniffer using conditional compilation


 / Published in: JavaScript
 

URL: http://dean.edwards.name/weblog/2007/03/sniff/

Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.

  1. var isMSIE = /*@cc_on!@*/false;

Report this snippet  

You need to login to post a comment.