From b7be9820eed0f0e972703d99867dc389e89d53c9 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sat, 12 Aug 2023 12:35:13 +1000 Subject: More Firefox changes. DRM can diaf. Extensions should be installed explicitly. No topsites, thanks mozilla. --- firefox/policies.json | 7 +++++++ firefox/user.js | 8 +++++++- 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'firefox') diff --git a/firefox/policies.json b/firefox/policies.json index ed4d5d3..94314f7 100644 --- a/firefox/policies.json +++ b/firefox/policies.json @@ -14,7 +14,14 @@ "Cryptomining": true, "Fingerprinting": true }, + "EncryptedMediaExtensions": { + "Enabled": false, + "Locked": true + }, "ExtensionSettings": { + "*": { + "updates_disabled": true + }, "{e4a8a97b-f2ed-450b-b12d-ee082ba24781}": { "installation_mode": "normal_installed", "install_url": "https://addons.mozilla.org/en-US/firefox/downloads/latest/greasemonkey/latest.xpi" diff --git a/firefox/user.js b/firefox/user.js index 71381ce..3f5bab7 100644 --- a/firefox/user.js +++ b/firefox/user.js @@ -603,6 +603,12 @@ user_pref("extensions.postDownloadThirdPartyPrompt", false); * [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1384330,1406795,1415644,1453988 ***/ user_pref("extensions.webextensions.restrictedDomains", ""); +// Disable installing from the distribution/extensions dir +// We want to install extensions explicitly from policies.json, rather +// than silent undocumented installations from the filesystem. +// https://support.mozilla.org/en-US/kb/deploying-firefox-with-extensions +user_pref("extensions.installDistroAddons", false); + /*** [SECTION 2700]: ETP (ENHANCED TRACKING PROTECTION) ***/ user_pref("_user.js.parrot", "2700 syntax error: the parrot's joined the bleedin' choir invisible!"); /* 2701: enable ETP Strict Mode [FF86+] @@ -819,7 +825,7 @@ user_pref("browser.sessionstore.max_tabs_undo", 0); // user_pref("browser.urlbar.suggest.history", false); // user_pref("browser.urlbar.suggest.bookmark", false); // user_pref("browser.urlbar.suggest.openpage", false); - // user_pref("browser.urlbar.suggest.topsites", false); // [FF78+] +user_pref("browser.urlbar.suggest.topsites", false); // [FF78+] /* 5011: disable location bar dropdown * This value controls the total number of entries to appear in the location bar dropdown ***/ // user_pref("browser.urlbar.maxRichResults", 0); -- cgit v1.2.3