From 9b555ef2e99891b6869e82482eb0a7b6afc54d3b Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 5 Dec 2021 06:05:14 +0100 Subject: [PATCH] autoconfig: set browser.newtabpage.enabled (MR 19) Now that there's a nice about:home page, show it in new tabs too instead of the weird looking blank page. Set this in autoconfig.js instead of policies.json, so it can be overridden by the user via settings page. --- src/mobile-config-autoconfig.js | 4 ++++ src/policies.json | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mobile-config-autoconfig.js b/src/mobile-config-autoconfig.js index 490d9ac..3b28f1a 100644 --- a/src/mobile-config-autoconfig.js +++ b/src/mobile-config-autoconfig.js @@ -61,3 +61,7 @@ defaultPref('browser.urlbar.suggest.topsites', false); // this option, at least there is no big "Search with Amazon" message in the // urlbar results as soon as typing the letter "a". defaultPref('browser.urlbar.suggest.engines', false); + +// Show about:home in new tabs, so it's not just a weird looking completely +// empty page. +defaultPref('browser.newtabpage.enabled', true); diff --git a/src/policies.json b/src/policies.json index c2bf501..dd5f9d9 100644 --- a/src/policies.json +++ b/src/policies.json @@ -4,7 +4,6 @@ "DisableFirefoxStudies": true, "DisableTelemetry": true, "DisablePocket": true, - "NewTabPage": false, "NoDefaultBookmarks": true, "OverrideFirstRunPage": "", "OverridePostUpdatePage": "",