Skip to content

Instantly share code, notes, and snippets.

@book000
Last active December 8, 2021 12:09
Show Gist options
  • Save book000/040ac04bc2eca982ce1f95458771645c to your computer and use it in GitHub Desktop.
Save book000/040ac04bc2eca982ce1f95458771645c to your computer and use it in GitHub Desktop.
Remove Closed Pull/Issue in GitHub Notification
javascript:document.querySelectorAll("div.notifications-list ul li.notifications-list-item").forEach(s => { if ( s.querySelector("svg.octicon-git-merge") != null || s.querySelector("svg.octicon-git-pull-request-closed") != null || s.querySelector("svg.octicon-issue-closed") != null ) s.querySelector("input.js-notification-bulk-action-check-item").click();});document.querySelector("form button[title=\"Done\"]").click();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment