Difference between revisions of "Side Bar Color Fixer"

From James Dooley's Wiki
Jump to: navigation, search
(Created page with "==Overview== Changes the link colors to something more readable and removes link underlines. ==Script== <code>[javascript,n] // ==UserScript== // @name HD Link Color ...")
 
(Script)
Line 13: Line 13:
  
 
GM_addStyle("A { color: #FFF; text-decoration: none}");
 
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";
 +
 +
 
</code>
 
</code>
  

Revision as of 13:27, 24 May 2011

Overview

Changes the link colors to something more readable and removes link underlines.

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