FirefoxHome
Customize the Firefox Home page.
Values
Section titled “Values”Each key named after a Firefox Home section is a Boolean that shows or hides that section, and Locked prevents the user from changing any of them.
Widgets controls the new tab widgets and takes two sub-keys:
Enabled: A Boolean that shows or hides widgets as a whole. It followsLockedlike the other keys.Blocked: A list of widget IDs to turn off individually. Blocked widgets are always locked, whether or notLockedis set. The IDs areclocks,crossword,focusTimer,lists,pictureOfTheDay,privacy,recentSearches,sportsWidget,stocks, andweather. An invalid widget ID is ignored.
Examples
Section titled “Examples”{ "policies": { "FirefoxHome": { "Search": true, "TopSites": true, "SponsoredTopSites": true, "Highlights": true, "Pocket": true, "Stories": true, "SponsoredPocket": true, "SponsoredStories": true, "Snippets": true, "Widgets": { "Enabled": true, "Blocked": [ "crossword", "stocks" ] }, "Locked": true } }}JSON schema
{ "type": "object", "properties": { "Search": { "type": "boolean" }, "Weather": { "type": "boolean" }, "TopSites": { "type": "boolean" }, "SponsoredTopSites": { "type": "boolean" }, "Highlights": { "type": "boolean" }, "Pocket": { "type": "boolean" }, "Stories": { "type": "boolean" }, "SponsoredPocket": { "type": "boolean" }, "SponsoredStories": { "type": "boolean" }, "Snippets": { "type": "boolean" }, "Widgets": { "type": "object", "properties": { "Enabled": { "type": "boolean" }, "Blocked": { "type": "array", "items": { "type": "string" } } } }, "Locked": { "type": "boolean" } }}Removing sponsored content
Section titled “Removing sponsored content”This example turns off sponsored shortcuts and sponsored stories, and sets Locked to true so users can't turn them back on.
Setting and locking both keys also locks the "Support Firefox" toggle so that users don't see a control that has no effect.
Sponsored content is disabled in Firefox Enterprise, so this is only relevant for Firefox and Firefox ESR:
{ "policies": { "FirefoxHome": { "SponsoredTopSites": false, "SponsoredStories": false, "Locked": true } }}Turning off specific widgets
Section titled “Turning off specific widgets”This example turns off the sports, stocks and crossword widgets and leaves the other widgets for users to configure.
Widgets listed in Blocked are always disabled and locked, so you don't need Locked here:
{ "policies": { "FirefoxHome": { "Widgets": { "Blocked": ["sportsWidget", "stocks", "crossword"] } } }}Windows (GPO)
Section titled “Windows (GPO)”Software\Policies\Mozilla\Firefox\FirefoxHome\Search = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Weather = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\TopSites = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\SponsoredTopSites = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Highlights = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Pocket = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Stories = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\SponsoredPocket = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\SponsoredStories = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Snippets = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Widgets\Enabled = 0x1 | 0x0Software\Policies\Mozilla\Firefox\FirefoxHome\Widgets\Blocked\1 = "crossword"Software\Policies\Mozilla\Firefox\FirefoxHome\Locked = 0x1 | 0x0<dict> <key>FirefoxHome</key> <dict> <key>Search</key> <true/> | <false/> <key>Weather</key> <true/> | <false/> <key>TopSites</key> <true/> | <false/> <key>SponsoredTopSites</key> <true/> | <false/> <key>Highlights</key> <true/> | <false/> <key>Pocket</key> <true/> | <false/> <key>Stories</key> <true/> | <false/> <key>SponsoredPocket</key> <true/> | <false/> <key>SponsoredStories</key> <true/> | <false/> <key>Snippets</key> <true/> | <false/> <key>Widgets</key> <dict> <key>Enabled</key> <true/> | <false/> <key>Blocked</key> <array> <string>crossword</string> </array> </dict> <key>Locked</key> <true/> | <false/> </dict></dict>Compatibility
Section titled “Compatibility”| Firefox | Firefox ESR | Firefox Enterprise | |
|---|---|---|---|
FirefoxHome | Available since 68 | Available since 68 | Available since 149 |
Snippets1 | Available from 68, removed in 122 | Available from 68, removed in 128 | Not supported |
SponsoredPocket2 | Available since 95 | Available since 91.4 | Available since 149 |
SponsoredTopSites | Available since 95 | Available since 91.4 | Available since 149 |
SponsoredStories3 | Available since 141 | Available since 140.1 | Available since 149 |
Stories4 | Available since 141 | Available since 140.1 | Available since 149 |
Weather | Available since 152 | Available since 140.12 | Available since 152 |
Widgets | Available since 156 | Not supported | Available since 156 |
- Deprecated in Firefox 122.
- Replaced by the
SponsoredStoriesproperty in Firefox 141. - Replaces the
SponsoredPocketproperty in Firefox 141. - Replaces the
Pocketproperty.
CCK2 Equivalent: N/A
OMA-URI: FirefoxHome
Preferences Affected: browser.newtabpage.activity-stream.showSearch, browser.newtabpage.activity-stream.feeds.topsites, browser.newtabpage.activity-stream.feeds.section.highlights, browser.newtabpage.activity-stream.feeds.section.topstories, browser.newtabpage.activity-stream.feeds.snippets, browser.newtabpage.activity-stream.showSponsoredTopSites, browser.newtabpage.activity-stream.showSponsored, browser.newtabpage.activity-stream.showWeather, browser.newtabpage.activity-stream.widgets.enabled, browser.newtabpage.activity-stream.widgets.weather.enabled, and one browser.newtabpage.activity-stream.widgets.<id>.enabled per blocked widget