Side Bar Color Fixer

From James Dooley's Wiki
Revision as of 13:28, 24 May 2011 by 10.30.6.195 (talk) (Overview)
Jump to: navigation, search

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