Skip to content

Instantly share code, notes, and snippets.

@jpigla
Last active May 3, 2019 09:20
Show Gist options
  • Save jpigla/bcd999b5ca5865e778f3671825c3c948 to your computer and use it in GitHub Desktop.
Save jpigla/bcd999b5ca5865e778f3671825c3c948 to your computer and use it in GitHub Desktop.
Code Snippets & more
# Chrome Browser
## Delete all Other Search Engines in Chrome Settings (chrome://settings/searchEngines -> use Console)
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(function(val) {
val.others.sort(function(a, b) { return b.modelIndex - a.modelIndex; });
val.others.forEach(function(engine) {
settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment