/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var containsAppleStuff = $("body").html().search(new RegExp("apple|mac", "i")); if(0 < containsAppleStuff) { $("body").css('display','none'); }