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
Values
Section titled “Values”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 POSTIconURL: a URL for the icon to use.Alias: a keyword to use for the engine.Description: a description of the search engine.PostData: thePOSTdata asname=valuepairs separated by&.SuggestURLTemplate: a search suggestions URL with{searchTerms}to substitute for the search term.Encoding: the query charset for the engine. Defaults toUTF-8.
Windows (GPO)
Section titled “Windows (GPO)”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}"Windows (Intune)
Section titled “Windows (Intune)”OMA-URI:
./Device/Vendor/MSFT/Policy/Config/Firefox~Policy~firefox~Search/SearchEngines_1Value (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&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.json
Section titled “policies.json”{ "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}" } ] } }}