OpenSearch
OpenSearch lets users install your site as a native search engine in their browser and search directly from the address bar.
Upload an opensearch.xml file with the following content to your server:
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
<ShortName>SHORT_NAME</ShortName>
<Description>DESCRIPTION</Description>
<InputEncoding>UTF-8</InputEncoding>
<Tags>TAGS</Tags>
<Image height="16" width="16" type="image/x-icon">
https://samplesite.com/favicon.ico
</Image>
<Url type="text/html" template="https://samplesite.com?ss360Query={searchTerms}&ref=opensearch"/>
<moz:SearchForm>
https://samplesite.com/
</moz:SearchForm>
</OpenSearchDescription>
Replace the following placeholders:
SHORT_NAME— your website name (16 characters or fewer)DESCRIPTION— a brief description of what users can search forTAGS— a few comma-separated keywords describing your sitehttps://samplesite.com/favicon.ico— link to your favicon or iconhttps://samplesite.com— your website URLss360Query— replace only if you've customisedresults.searchQueryParamNamein yourss360Config(default isss360Query)
Then reference the file in the <head> of your page:
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="TITLE">