jdswatsup / Shop Neopia Neopets Adblock

// ==UserScript==
// @name          Shop Neopia Neopets Adblock
// @description	  Removes all ad locations on Neopets.
// @author        |2eap
// @homepage      http://www.shopneopia.com
// @include       http://neopets.com/*
// @include       https://neopets.com/*
// @include       http://*.neopets.com/*
// @include       https://*.neopets.com/*
// @run-at        document-start
// @version       1.01
// ==/UserScript==
(function() {var css = "div#ad-slug-wrapper{display:none;} .adBox.sf{display:none;} div#pushdown_banner_btf{display:none;} div#ad-300x250Div-atfWrapper{display:none!important;} div#ad-300x250Div-btfWrapper{display:none;} div#ad-160x600DivWrapper{display:none;}";
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node); 
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();