Over a million developers have joined DZone.

Clear Flash Ads with one line of jQuery

· Web Dev Zone

 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


Topics:

Published at DZone with permission of Vladimir Carrer, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}