Clear Flash Ads with one line of jQuery
Few years ago I made ClipR distraction free readability bookmarklet based on jQuery. One of first things that ClipR does is trying to eliminate all Flash from the website.
That is done with just one line of jQuery:
$("iframe,object,embed,input[type=image],ins").hide();
With little help of Ben Alman’s bookmarklet making tool we can transform this simple jQuery into a bookmarklet.
ClearAds - Drag or Save this link to your bookmarks
Use this bookmarklet to eliminate all annoying flash ads from any website.
Cheers
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Tags:






Comments
Maxime Euziere replied on Wed, 2013/03/20 - 10:13am
Well, I don't want to state the obvious, but doesn't this also hide all iframes, objects, embeds, image inputs and ins that are NOT ads?
Also, this could be done easily without jQuery. Pure JS or even a simple CSS rule would be enough.