Last active
August 29, 2015 14:05
-
-
Save undergroundmonorail/27db068f9f9f499a228f 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 TagPro Teams Decapitalized | |
// @namespace http://www.reddit.com/u/undergroundmonorail | |
// @include http://tagpro-*.koalabeast.com* | |
// @include http://tangent.jukejuice.com* | |
// @exclude http://tagpro-*.koalabeast.com/groups/* | |
// @exclude http://tangent.jukejuice.com/groups/* | |
// @license WTFPL | |
// @author monorail | |
// @version 1.1.0 | |
// ==/UserScript== | |
tagpro.ready(function() { | |
var prettyTextOriginal = tagpro.prettyText; | |
tagpro.prettyText = function(e,t,n,r,s,o,u) { | |
if (e.indexOf("has switched to the")>-1 | e.indexOf("has joined the")>-1 | e.indexOf("left the")>-1) { | |
e=e.replace("Red team", "red team"); | |
e=e.replace("Blue team", "blue team"); | |
} | |
return prettyTextOriginal(e,t,n,r,s,o,u); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment