Skip to content

SearchEngines: Add

Add new search engines. Although there are five engines available in the ADMX template, there is no maximum number that can be specified. To add more in the ADMX template, you can duplicate the XML.

Compatibility: Firefox 139, Firefox ESR 60 (POST support in Firefox ESR 68, Encoding support in Firefox 91)
CCK2 Equivalent: searchplugins
Preferences Affected: N/A

  • Name (required): the name of the search engine.
  • URLTemplate (required): the search URL with {searchTerms} to substitute for the search term.
  • Method: either GET or POST
  • IconURL: a URL for the icon to use.
  • Alias: a keyword to use for the engine.
  • Description: a description of the search engine.
  • PostData: the POST data as name=value pairs separated by &.
  • SuggestURLTemplate: a search suggestions URL with {searchTerms} to substitute for the search term.
  • Encoding: the query charset for the engine. Defaults to UTF-8.
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Name = "Example1"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\URLTemplate = "https://www.example.org/q={searchTerms}"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Method = "GET" | "POST"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\IconURL = "https://www.example.org/favicon.ico"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Alias = "example"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\Description = "Example Description"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\SuggestURLTemplate = "https://www.example.org/suggestions/q={searchTerms}"
Software\Policies\Mozilla\Firefox\SearchEngines\Add\1\PostData = "name=value&q={searchTerms}"

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_1

Value (string):

<enabled/>
<data id="SearchEngine_Name" value="Example1"/>
<data id="SearchEngine_URLTemplate" value="https://www.example.org/q={searchTerms"/>
<data id="SearchEngine_Method" value="GET | POST"/>
<data id="SearchEngine_IconURL" value="https://www.example.org/favicon.ico"/>
<data id="SearchEngine_Alias" value="example"/>
<data id="SearchEngine_Description" value="Example Description"/>
<data id="SearchEngine_SuggestURLTemplate" value="https://www.example.org/suggestions/q={searchTerms}"/>
<data id="SearchEngine_PostData" value="name=value&amp;q={searchTerms}"/>
<dict>
<key>SearchEngines</key>
<dict>
<key>Add</key>
<array>
<dict>
<key>Name</key>
<string>Example1</string>
<key>URLTemplate</key>
<string>https://www.example.org/q={searchTerms}</string>
<key>Method</key>
<string>GET | POST </string>
<key>IconURL</key>
<string>https://www.example.org/favicon.ico</string>
<key>Alias</key>
<string>example</string>
<key>Description</key>
<string>Example Description</string>
<key>SuggestURLTemplate</key>
<string>https://www.example.org/suggestions/q={searchTerms}</string>
<key>PostData</key>
<string>name=value&q={searchTerms}</string>
</dict>
<array>
</dict>
</dict>
{
"policies": {
"SearchEngines": {
"Add": [
{
"Name": "Example1",
"URLTemplate": "https://www.example.org/q={searchTerms}",
"Method": "GET" | "POST",
"IconURL": "https://www.example.org/favicon.ico",
"Alias": "example",
"Description": "Description",
"PostData": "name=value&q={searchTerms}",
"SuggestURLTemplate": "https://www.example.org/suggestions/q={searchTerms}"
}
]
}
}
}