SU V4 Disable mouseover background change

By Foresthippy Last update Nov 2, 2009 — Installed 444 times. Daily Installs: 0, 4, 2, 4, 2, 4, 5, 1, 5, 1, 2, 2, 4, 2, 0, 1, 0, 1, 0, 3, 4, 1, 1, 3, 2, 4, 3, 5, 0, 0, 0
// ==UserScript==
// @name            SU V4 Disable mouseover background change
// @version	    	0.1
// @namespace       http://www.foresthippy.com
// @description     John
// @include         http://*.stumbleupon.com/*
// @license         Who knows
// ==/UserScript==

	for (var s = 0; s < document.styleSheets.length; s++)
	{
		if(document.styleSheets[s].cssRules)
		{
			for (var r = 0; r < document.styleSheets[s].cssRules.length; r++)
			{
				var st = document.styleSheets[s].cssRules[r].selectorText;
				if (st.search ('.hilight') != -1 || st == '.listStumble li.active')
				{
					GM_log ('Removing background-color from CSS: ' + st);
					document.styleSheets[s].cssRules[r].style.backgroundColor = '';
				}
			}
		}
	}