Difference between revisions of "Side Bar Color Fixer"
(→Overview) |
|||
| Line 1: | Line 1: | ||
| + | [[Category:GreaseMonkey]] | ||
==Overview== | ==Overview== | ||
Changes the link colors to something more readable and removes link underlines. | Changes the link colors to something more readable and removes link underlines. | ||
Revision as of 17:42, 17 February 2012
Overview
Changes the link colors to something more readable and removes link underlines.
Also shrunk the text down to fit inside the frame for Nate's sidebar.
Removed search boxes since nobody uses them anyway.
Script
[javascript,n]
// ==UserScript==
// @name HD Link Color
// @namespace http://jamesdooley.us
// @description Change HD Status Links to more visible colors
// @include https://hd.int.liquidweb.com/stats/acd/support/vertsearch.mhtml
// ==/UserScript==
GM_addStyle("A { color: #FFF; text-decoration: none}"); GM_addStyle(".numbers { float: right;}"); GM_addStyle(".header { font-size: 10px; }"); GM_addStyle(".stats { font-size: 10px; }"); GM_addStyle(".statsred { font-size: 10px; }"); GM_addStyle(".statsgreen { font-size: 10px; }");
tablerows = document.getElementsByTagName('tr');
for (i=9; i<=14; i++) {
tablerows[i].style.display = "none";
}
document.getElementsByTagName('p')[0].style.display = "none";
What to change
To change the link color
color: <hex>
To enable link underlines remove
text-decoration: none