Last active
November 23, 2021 07:20
-
-
Save Etc3tera/18e89497644c05166c971e02c531e62c to your computer and use it in GitHub Desktop.
Jira Backlog Focus
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 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