Last active
May 3, 2019 09:20
-
-
Save jpigla/bcd999b5ca5865e778f3671825c3c948 to your computer and use it in GitHub Desktop.
Code Snippets & more
This file contains 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
# 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