chrome

How to remove "other search engines" from Chrome

Open the Chrome search engine settings page: chrome://settings/searchEngines Selector for topmost “Remove search engine” button in “Other search engines” list: document.querySelector("body > settings-ui").shadowRoot .querySelector("#main").shadowRoot .querySelector("settings-basic-page").shadowRoot .querySelector("#basicPage > settings-section.expanded > settings-search-page").shadowRoot .querySelector("#pages > settings-subpage > settings-search-engines-page").shadowRoot .querySelector("#otherEngines").shadowRoot .querySelector("#frb0").shadowRoot .querySelector("#delete"); You can repeatedly call the selector and “click()” on the button. document.querySelector("body > settings-ui").shadowRoot .querySelector("#main").shadowRoot .querySelector("settings-basic-page").shadowRoot .querySelector("#basicPage > settings-section.expanded > settings-search-page").shadowRoot .querySelector("#pages > settings-subpage > settings-search-engines-page").