Skip to content

Instantly share code, notes, and snippets.

@chrisk
Created February 8, 2009 09:57
Show Gist options
  • Save chrisk/60334 to your computer and use it in GitHub Desktop.
Save chrisk/60334 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Hide labels in story lists
// @namespace http://shiftcommathree.com
// @description Hides the small green labels before each story title
// @include http://www.pivotaltracker.com/projects/*
// @include http://pivotaltracker.com/projects/*
// @author Chris Kampmeier
// ==/UserScript==
function addGlobalStyle(css) {
var head, style;
head = document.getElementsByTagName('head')[0];
if (!head) { return; }
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}
addGlobalStyle(
'div.storyPreviewHeader span.storyLabels {' +
' display: none ! important;' +
'}');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment