Skip to content

Instantly share code, notes, and snippets.

@kaibadash
Last active June 22, 2023 02:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kaibadash/7682119d02c74d97803ebe6ed7b9194d to your computer and use it in GitHub Desktop.
Save kaibadash/7682119d02c74d97803ebe6ed7b9194d to your computer and use it in GitHub Desktop.
Close merged and closed pull requests in https://github.com/notifications
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