Last active
October 1, 2021 14:20
-
-
Save nicolae-olariu/f5527979bd8dc03c9ae680ce1664ca19 to your computer and use it in GitHub Desktop.
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
// Run the following IIFE in the browser's console to close all GitHub conversations from a PR | |
(() => { | |
const allButtons = document.querySelectorAll('[data-disable-with="Resolving conversation…"]'); | |
const allButtonsArray = Array.from(allButtons); | |
if (!allButtonsArray || !allButtonsArray.length) { | |
return; | |
} | |
allButtonsArray.map(theMightyButton => { | |
theMightyButton && theMightyButton.click(); | |
}); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment