Created
November 6, 2016 00:20
-
-
Save JamesMcMahon/28e3b35e51444a4e4857f2ca0a122665 to your computer and use it in GitHub Desktop.
Tracker Blocked Highlighter
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
// ==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