Skip to content

Instantly share code, notes, and snippets.

@JamesMcMahon
Created November 6, 2016 00:20
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 JamesMcMahon/28e3b35e51444a4e4857f2ca0a122665 to your computer and use it in GitHub Desktop.
Save JamesMcMahon/28e3b35e51444a4e4857f2ca0a122665 to your computer and use it in GitHub Desktop.
Tracker Blocked Highlighter
// ==UserScript==
// @name Tracker Blocked Highlighter
// @namespace http://tampermonkey.net/
// @version 0.1
// @author jmcmahon
// @match https://www.pivotaltracker.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
$(function() {
var colorize = function() {
$('div.story:has(a.label:contains("blocked"))').children('header').css('background-color', 'red');
};
setTimeout(function() {
colorize();
setInterval(colorize, 20000);
}, 4000);
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment