Skip to content

Instantly share code, notes, and snippets.

@Etc3tera
Last active November 23, 2021 07:20
Show Gist options
  • Save Etc3tera/18e89497644c05166c971e02c531e62c to your computer and use it in GitHub Desktop.
Save Etc3tera/18e89497644c05166c971e02c531e62c to your computer and use it in GitHub Desktop.
Jira Backlog Focus
// ==UserScript==
// @name Jira Backlog Focus
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author Etc3tera
// @match https://*.atlassian.net/**/backlog
// @icon https://www.google.com/s2/favicons?domain=microsoft.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
function spam() {
var root = document.querySelectorAll('.ReactVirtualized__Grid__innerScrollContainer')[0];
if (root) {
for(var i = 0; i < root.childNodes.length; i++) {
var text = root.childNodes[i].innerText;
if (text.indexOf('TO DO') === -1) {
root.childNodes[i].style.opacity = 0.15;
}
}
}
}
setInterval(spam, 500);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment