Over a million developers have joined DZone.

Clear Flash Ads with one line of jQuery

· Web Dev Zone

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, brought to you in partnership with Stormpath.

 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 complete, pre-built User Management API for building web and mobile applications, and APIs. Download our new whitepaper: "Build Versus Buy: Customer Identity Management for Web and Mobile Applications".

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 }}