Skip to content

Technical Limitation

Tom Schuster edited this page Feb 4, 2021 · 6 revisions

Firefox WebExtensions are not as powerful as previous legacy extensions, which could use Firefox APIs directly to add new custom search engines.

We use a <link rel="search"> element for Firefox to discover the OpenSearch engine. See also the MDN article Adding search engines from web pages. This method requires that we use a http: or https: URL, and because we also can't locally host a webserver using WebExtensions, the search engine XML file has to be uploaded somewhere.

In previous versions of Firefox with WebExtension support, we used window.external.AddSearchProvider, before that function was disabled.

Clone this wiki locally