Pandora: No Scrollbars

By sphere Last update Nov 26, 2009 — Installed 401 times.

There are 1 previous version of this script.

// ==UserScript==
// @name          Pandora: No Scrollbars
// @namespace     http://userstyles.org
// @description	  Hides horizontal and vertical scrollbars on pandora.com
// @author        sphere2k
// @include       http://pandora.com/*
// @include       https://pandora.com/*
// @include       http://*.pandora.com/*
// @include       https://*.pandora.com/*
// ==/UserScript==
(function() {
var css = "body {\n   overflow: hidden;\n}";
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 heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		heads[0].appendChild(node); 
	}
}
})();