search

Retrieves search engines and executes a search with a specific search engine.

To use this API you need to have the "search" permission.

Functions

search.get()
Retrieve all search engines.
search.search()
Search using the specified search engine.

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
get
No
No
63
?
No
No
?
?
No
?
?
?
search
No
No
63
?
No
No
?
?
No
?
?
?

Example extensions

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/search