IE sniffer using conditional compilation

/ Published in: JavaScript
Save to your folder(s)

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

Copy this code and paste it in your HTML
  1. var isMSIE = /*@cc_on!@*/false;


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.