Skip to content

Instantly share code, notes, and snippets.

@iowillhoit
iowillhoit / github-toggle-dependabot.js
Created May 25, 2022 19:29
A bookmarklet to toggle the dependabot author on GitHub PR results
javascript:
var input = document.getElementById('js-issues-search');
var search = input.value;
var bot = '-author:app/dependabot';
var newSearch = search.includes(bot) ? search.replace(bot, '') : `${search} ${bot}`;