The search provider has a name and a primary search URL. Alternative
URLs may be provided, including URLs for more specialized searches
like image search. In the URL you supply, use
"{searchTerms}" to interpolate the search term into the
URL, like:
https://www.discogs.com/search/?q={searchTerms}. You can
also provide POST parameters to be sent along with the search.
The search provider will be presented to the user alongside the
built-in providers. If you include the
is_default property and set it to true, the
new search provider will be the default option. By supplying the
keyword property, you enable the user to select your
search provider by typing the keyword into the search/address bar
before the search term.
This is an object with the properties listed below. All string
properties are
localizable.
Boolean: True if the search engine should be the default choice. On
Firefox, this is opt-in and the user will only be asked the first
time the extension is installed. They will not be asked again if a
search engine is added later.
String: URL pointing to an icon for the search engine. In Manifest V2,
this must be an absolute HTTP or HTTPS URL. In Manifest V3, this must
reference an icon provided in the extension as a path relative to the
extension's root.