del.icio.us Ad Killer

By pwlin Last update Sep 13, 2008 — Installed 1,118 times. Daily Installs: 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 0, 1, 1, 1, 3, 0, 0

There are 1 previous version of this script.

// ==UserScript==
// @name	del.icio.us Ad Killer
// @namespace 	http://userscripts.org/scripts/show/5134
// @version	0.3  
// @description	Removes the ads on delicious.com 
// @include	http://delicious.com/*
// @exclude	http://delicious.com/rss/*
// ==/UserScript==
(function(){
	try {
		var DelAds=document.evaluate("//div[@id='spns']",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
		for(var i=0, k=DelAds.snapshotLength;i<k;i++){
			var DelAd=DelAds.snapshotItem(i);
			DelAd.parentNode.removeChild(DelAd);
		}
	} catch(e){}
})();