Skip to content

Instantly share code, notes, and snippets.

@qoomon
Last active March 11, 2019 11:09
Show Gist options
  • Save qoomon/00de039f422a3ff02f944c64e0c837a6 to your computer and use it in GitHub Desktop.
Save qoomon/00de039f422a3ff02f944c64e0c837a6 to your computer and use it in GitHub Desktop.
[Google Chrome] Remove all domain search engines #cleanup
// open chrome://settings/searchEngines and run following script in browser console
// will remove every 'other' search engine wich contains a '.' in its keyword
settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList()
.then(engines => engines.others.forEach(engine => {
if(engine.keyword.includes(".")){
console.log("remove: " + engine.displayName + " - " + engine.keyword)
settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex);
}
}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment