Skip to content

Instantly share code, notes, and snippets.

@michel-zimmer
Created December 7, 2016 11:35
Show Gist options
  • Save michel-zimmer/0dfdd2b19e92716755292f06d0cb170c to your computer and use it in GitHub Desktop.
Save michel-zimmer/0dfdd2b19e92716755292f06d0cb170c to your computer and use it in GitHub Desktop.
// chrome://settings/searchEngines
var chromeSearchEngineCleaner = window.setInterval(function () {
var button = document.querySelector('#other-search-engine-list .row-delete-button');
if (button) {
button.click();
} else {
window.clearInterval(chromeSearchEngineCleaner);
}
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment