Over a million developers have joined DZone.
Platinum Partner

Clear Flash Ads with one line of jQuery

· Web Dev Zone

The Web Dev Zone is brought to you by Stormpath—offering a pre-built Identity API for developers. Easily build powerful user management, authentication, and authorization into your web and mobile applications. Download this Forrester report on the new landscape of Customer Identity and Access Management.

 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


The Web Dev Zone is brought to you by Stormpath—offering a pre-built, streamlined User Management API for building web and mobile applications. Check out our top pointers for designing your REST API.

Topics:

Published at DZone with permission of Vladimir Carrer , DZone MVB .

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}