50

Google Chrome saves lots of Other Search Engines from websites I visit, under Settings > Search; Manage search engines. I believe this is called ‘OpenSearch’.

Clicking the remove icon ❌ on each one would be very cumbersome.

Is there a way to delete all of them, without having to do it manually?


NB: This extension supposedly prevents Chrome from adding custom search engines.

  • Bloody Chrome needs to allow users select multiple entries in Settings, not just for search engines but other things like saved passwords. Everything in Settings allows only single selection, and we are supposed to repeat the action multiple times... Are the developers stupid or are they enjoying torturing the users? – Damn Vegetables Aug 26 '19 at 19:08
  • The Chrome UX for managing other search engines is not keyboard friendly. Consequently, it's a highly unproductive UX if one wishes to delete a large collection of entries. Happily, the code below suffices if one wishes to remove all entries. – CalvinDale Dec 11 '19 at 15:36
116

Go to chrome://settings/searchEngines, hit F12 and paste this into the Console tab:

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);
        });
    });

Thanks to alcohol for updating this code for material design.

NOTE: You can also access the Javascript console via Option + Command + J on OSX. You might in fact need to run this multiple times to completely clear out all the search engines listed under "Other search engines..." section of the settings area.

| improve this answer | |
  • 2
    What does F12 do? I have MacOS and it does nothing. Is there a menu item to achieve the same? – Petruza Mar 14 '17 at 15:08
  • 10
    The querySelector approach does not seem to work anymore with the new material-UI. I figured out the following solution: settings.SearchEnginesBrowserProxyImpl.prototype.getSearchEnginesList().then(function (val) { val.others.forEach(function (engine) { settings.SearchEnginesBrowserProxyImpl.prototype.removeSearchEngine(engine.modelIndex); }); }); – alcohol Jun 15 '17 at 13:31
  • 2
    This worked for me today on 7/25/2017. I did have to run it a few times. – weisjohn Jul 25 '17 at 17:29
  • 2
    The Material Design code gave me errors as pasted. I had to arrow my cursor around in the code and find strange hidden characters and remove them. Maybe it's a safety mechanism. Maybe it was a bug. – Bruno Bronosky Sep 26 '17 at 21:01
  • 2
    On a related note, if you want to PREVENT these from being added automagically to your browser, you can install the extension linked here: superuser.com/questions/886982/… – Marcello Grechi Lins Apr 4 '18 at 20:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.