canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798
edits
MarkFinkle (talk | contribs) (Add more detail to the suggested site JSON data) |
MarkFinkle (talk | contribs) m (→Search Plugins) |
||
| Line 110: | Line 110: | ||
If a directory for the locale the browser is running in doesn't exist, Firefox will automatically try the 'default' locale, as defined by the distribution.searchplugins.defaultLocale preference. | If a directory for the locale the browser is running in doesn't exist, Firefox will automatically try the 'default' locale, as defined by the distribution.searchplugins.defaultLocale preference. | ||
To set a given search engine as the default, you need to use <code>LocalizablePreferences</code> to override the <code>browser.search.defaultenginename</code> preference. You should also override the <code>browser.search.order.1</code> preference to put the default engine in the right sort order. For example: | |||
{ | |||
... | |||
"LocalizablePreferences": { | |||
"browser.search.defaultenginename": "<name-of-engine>", | |||
"browser.search.order.1": "<name-of-engine>" | |||
... | |||
} | |||
... | |||
} | |||
==Add-ons== | ==Add-ons== | ||