Skip to content

Instantly share code, notes, and snippets.

@KableM
Last active October 26, 2015 14:28
Show Gist options
  • Save KableM/4439131fdafc7fa7b53d to your computer and use it in GitHub Desktop.
Save KableM/4439131fdafc7fa7b53d to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Hide Yo Degrees
// @version 1.0.2
// @description Hide your degrees even with stats on
// @include http://tagpro-*.koalabeast.com:*
// @include http://tangent.jukejuice.com:*
// @include http://*.newcompte.fr:*
// @author Browncoat
// ==/UserScript==
tagpro.ready(function () {
// OPTIONS
var hideMyDegrees = true;
var hideOtherDegrees = false;
var drawDegree = tagpro.renderer.drawDegree;
tagpro.renderer.drawDegree = function (player) {
if (player.id != tagpro.playerId) {
if (!hideOtherDegrees) {
drawDegree(player);
}
} else if (!hideMyDegrees) {
drawDegree(player);
}
};
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment