Created
March 26, 2010 01:39
-
-
Save coderanger/344372 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Lifetime blues | |
// @namespace http://startrekonline.com/ | |
// @include http://forums.startrekonline.com/showthread.php* | |
// ==/UserScript== | |
var snapAlt2 = document.evaluate("//table//td[@class='alt2']//span", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null); | |
for (var i = snapAlt2.snapshotLength - 1; i >= 0; i--) { | |
var elm = snapAlt2.snapshotItem(i); | |
if(elm.style.color == 'rgb(104, 192, 240)') { | |
elm.style.color = 'inherit'; | |
} | |
if(elm.innerHTML == 'Career Officer') { | |
elm.style.fontWeight = 'normal'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment