Here is a great piece of code, influenced by Dean Edwards , to determine if conditional comments are included:
var allowsCC = !1;
if(allowsCC)
alert("Conditional comments are allowed!!!");
else
alert("Conditional comments are not allowed.");
As you have already determined, allowCC will be set to a boolean value that indicates whether conditional comments are allowed or not.
source
share