Rushi's | Home on the web

Apr/10

22

No ADD-Art, that’s not Art

Add-Art is a firefox plugin that would replace banner ad’s with some art. However lately, it’s become an embarrassment to see such images being called as art, see Image below.

addArt

I keep checking Cricinfo at work to stay abreast with the scores, hence I had to do something about this. The good old GreaseMonkey came to the rescue, and with the following simple script, we can avoid Add-Art’s so called art images.

//
// ==UserScript==
// @name          Remove Add Art Images
// @namespace     Rushi
// @description   Remove Add Art Images
// @include       *.*
// ==/UserScript==
var allDivs = document.getElementsByTagName('div');
for(var i=0;i<allDivs.length;i++){
	if(allDivs[i].title == 'Replaced by Add-Art'){
		allDivs[i].style.visibility='hidden';
	}
}

Here is the screenshot after enabling the GreaseMonkey Script:
addArt_removed

RSS Feed

1 Comment for No ADD-Art, that’s not Art

Ramesh | April 24, 2010 at 9:07 am

Yep, greasemonkey is cool as ever. Chrome now has something very similar called greasemetal :)

Leave a comment!

<<

>>

Find it!

Theme Design by devolux.org
Tweaked by Rushi