Skip to content

Instantly share code, notes, and snippets.

@bencromwell
Created February 16, 2021 08:55
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 bencromwell/f56f798d0b90d564bbfd9328431ffd20 to your computer and use it in GitHub Desktop.
Save bencromwell/f56f798d0b90d564bbfd9328431ffd20 to your computer and use it in GitHub Desktop.
Github bookmarklet to remove dependabot PRs/issues from search
javascript:(function () {
let searchField = document.getElementById('js-issues-search');
searchField.value += ' -label:dependencies';
const ke = new KeyboardEvent("keypress", {keyCode: 13});
searchField.dispatchEvent(ke);
})();
@bencromwell
Copy link
Author

Adds -label:dependencies to the Github search box. Works on PR lists and issue lists to hide the noise from Dependabot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment