Last active
June 22, 2023 02:01
-
-
Save kaibadash/7682119d02c74d97803ebe6ed7b9194d to your computer and use it in GitHub Desktop.
Close merged and closed pull requests in https://github.com/notifications
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
javascript: | |
[".color-fg-closed", ".color-fg-done"].forEach( | |
sel => { | |
document.querySelectorAll(sel).forEach( | |
it => { | |
div = it.closest(".flex-row"); | |
console.log(div); | |
c = div.querySelector("input"); | |
c.click(); | |
} | |
); | |
} | |
); | |
document.querySelector("button[title='Done']").click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment