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
// Self executing loop staggered with delete requests to deal with local GH js rerenders | |
// Experiment with the timedelay of 1000 by default | |
var buttons = Array.from(document.querySelectorAll('button[title^="Delete "]')); | |
function loopIt(x) { | |
setTimeout(() => { | |
buttons[x].click(); | |
if(x < buttons.length -1) loopIt(x+1); | |
}, 1000); | |
}; | |
loopIt(0); |
OlderNewer