Skip to content

Instantly share code, notes, and snippets.

@HGebhardt
Created June 26, 2017 07:39
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 HGebhardt/99e8fd3ed086edbd38e5c1624395af94 to your computer and use it in GitHub Desktop.
Save HGebhardt/99e8fd3ed086edbd38e5c1624395af94 to your computer and use it in GitHub Desktop.
Remove Google Chrome custome search engines
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList().then(function(val){
val.others.forEach(function(engine) {
console.log(engine.displayName);
settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment