Last active
October 21, 2015 22:46
-
-
Save trystan/5542dcedc4be90187053 to your computer and use it in GitHub Desktop.
Fix PivotalTracker
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
// Use this with the Custom Javascript For Websites | |
// plugin for Chrome to fix PivotalTracker | |
function fixIt(){ | |
jQuery('h3[title="icebox"],label[class="icebox"]') | |
.attr("title","graveyard") | |
.children(1) | |
.text("Graveyard"); | |
var horizon = jQuery('.story_name:contains("Event Horizon")') | |
if (horizon) { | |
var f = function(i,e) { return $(e).offset().top > horizon.offset().top; }; | |
var inTheBlackHole = horizon.parent().parent().parent().parent().parent().find('.story').filter(f); | |
inTheBlackHole.removeClass('draggable') | |
inTheBlackHole.find('.start').hide(); | |
} | |
} | |
setInterval(fixIt,3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment