Last active
April 1, 2019 20:11
-
-
Save josephwegner/f17f9a2b2e996defa6cc877389cc3b2a to your computer and use it in GitHub Desktop.
Self Assigned Fill Black
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 Self Assigned Label Color | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2.1 | |
// @description Add color to the assignee label if it is assigned to me | |
// @author You | |
// @match https://support.heroku.com/tags/* | |
// @match https://support.heroku.com/inbox | |
// @match https://support.heroku.com/search* | |
// @grant none | |
// ==/UserScript== | |
document.querySelectorAll('.label-success').forEach(function(label) { | |
if(label.innerText === agent.const.current_user.display_name) { | |
label.style['background-color'] = 'black'; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment