Posted By

choise on 11/05/10


Tagged

js mac apple jquery


Versions (?)

disable web pages including apple stuff =/


 / Published in: jQuery
 

  1. var containsAppleStuff = $("body").html().search(new RegExp("apple|mac", "i"));
  2. if(0 < containsAppleStuff) { $("body").css('display','none'); }

Report this snippet  

You need to login to post a comment.