Skip to content

Instantly share code, notes, and snippets.

@henrik
Created June 21, 2011 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henrik/1037501 to your computer and use it in GitHub Desktop.
Save henrik/1037501 to your computer and use it in GitHub Desktop.
Userscript. Uses "Test" instead of "Deliver" on Pivotal Tracker buttons. For a flow where finish = ready for code review, deliver = in code review.
// ==UserScript==
// @name "Test" instead of "Deliver" on Pivotal Tracker buttons
// @namespace http://henrik.nyh.se
// @description Uses "Test" instead of "Deliver" on Pivotal Tracker buttons. For a flow where finish = ready for code review, deliver = in code review.
// @include https://www.pivotaltracker.com/*
// ==/UserScript==
var css = "";
css += ' a.deliver { text-indent:-9999em; } ';
css += ' a.deliver:after { content:"Test"; display:block; text-indent:0; margin-top:-14px; } ';
var style = document.createElement('style');
style.textContent = css;
document.getElementsByTagName('head')[0].appendChild(style);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment