Last active
March 11, 2019 11:09
-
-
Save qoomon/00de039f422a3ff02f944c64e0c837a6 to your computer and use it in GitHub Desktop.
[Google Chrome] Remove all domain search engines #cleanup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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