# Is it possible to change default search engine from the Add-on APIs

**URL:** <https://discourse.mozilla.org/t/is-it-possible-to-change-default-search-engine-from-the-add-on-apis/21823>\
**Category:** Development\
**Created:** [November 16, 2017, 5:28pm UTC](https://discourse.mozilla.org/t/is-it-possible-to-change-default-search-engine-from-the-add-on-apis/21823 "2017-11-16T17:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![letoii](https://avatars.discourse-cdn.com/v4/letter/l/a4c791/32.png) [@letoii](https://discourse.mozilla.org/u/letoii)\
**Post date:** [November 16, 2017, 5:28pm UTC](https://discourse.mozilla.org/t/is-it-possible-to-change-default-search-engine-from-the-add-on-apis/21823/1 "2017-11-16T17:28:39Z")

</div>

I am interested in developing an add-on which displays the installed search engines and lets you select the one to be the default search from the tool bar.

Is this functionality available the in the current API?

---

<div class="post-metadata">

**Author:** ![freaktechnik](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/freaktechnik/32/37766_2.png) [@freaktechnik](https://discourse.mozilla.org/u/freaktechnik)\
**Post date:** [November 17, 2017, 10:09pm UTC](https://discourse.mozilla.org/t/is-it-possible-to-change-default-search-engine-from-the-add-on-apis/21823/2 "2017-11-17T22:09:37Z")

</div>

A search engine can set “is\_default” when declared in an extension: [https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/chrome\_settings\_overrides](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json/chrome_settings_overrides)

Extensions can currently not list and modify the default search engine, though I think APIs are in the work to at least let you list search engines.
