Google Ad Remover

By Max Kueng Last update Jul 23, 2007 — Installed 21,452 times. Daily Installs: 16, 18, 19, 15, 19, 17, 20, 23, 17, 16, 15, 20, 28, 12, 25, 17, 16, 16, 17, 16, 22, 15, 16, 17, 10, 14, 22, 21, 25, 8, 14, 13
// ==UserScript==
// @name           Google Ad Remover
// @namespace      http://maxkueng.com/gmscripts
// @description    Removes ads from Google search result pages
// @version        1.2
// @author         Max Kueng
// @homepage       http://maxkueng.com/
// @include        http://*google.*/search*
// ==/UserScript==

(function () {
	var adbox0 = document.getElementById('mbEnd');
	var adbox1 = document.getElementById('tpa1');
	var adbox2 = document.getElementById('tpa2');
	var adbox3 = document.getElementById('tpa3'); // you kever know
	var adbox4 = document.getElementById('tpa4'); // you kever know
	// add more if needed
	
	if (adbox0) { adbox0.parentNode.removeChild(adbox0); }
	if (adbox1) { adbox1.parentNode.removeChild(adbox1); }
	if (adbox2) { adbox2.parentNode.removeChild(adbox2); }
	if (adbox3) { adbox3.parentNode.removeChild(adbox3); }
	if (adbox4) { adbox4.parentNode.removeChild(adbox4); }
	// add more if needed, too

}());