Skip to content

Instantly share code, notes, and snippets.

@trystan
Last active October 21, 2015 22:46
Show Gist options
  • Save trystan/5542dcedc4be90187053 to your computer and use it in GitHub Desktop.
Save trystan/5542dcedc4be90187053 to your computer and use it in GitHub Desktop.
Fix PivotalTracker
// 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