aboutsummaryrefslogtreecommitdiff
path: root/firefox
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-08-12 12:35:13 +1000
committerYuchen Pei <id@ypei.org>2023-08-12 12:35:13 +1000
commitb7be9820eed0f0e972703d99867dc389e89d53c9 (patch)
tree70702b2c0a2e81271291a8bf732b97c1a30634bf /firefox
parent1d921fda00b6fa81199fef057f60f57ec8c34f91 (diff)
More Firefox changes.
DRM can diaf. Extensions should be installed explicitly. No topsites, thanks mozilla.
Diffstat (limited to 'firefox')
-rw-r--r--firefox/policies.json7
-rw-r--r--firefox/user.js8
2 files changed, 14 insertions, 1 deletions
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);