/ Published in: JavaScript
Note that the comment is part of the code here. IE 5+ (including Mac) will evaluate to true by using conditional compilation.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var isMSIE = /*@cc_on!@*/false;
URL: http://dean.edwards.name/weblog/2007/03/sniff/