From: Christian Heller <c.heller@plomlompom.de>
Date: Mon, 8 Apr 2019 23:15:53 +0000 (+0200)
Subject: Enable pre-installed Firefox extensions by default.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/%7B%7Bitem_name%7D%7D?a=commitdiff_plain;h=10d09e174e66ea4409a520ff48795d6e9758fb8b;p=config

Enable pre-installed Firefox extensions by default.
---

diff --git a/buster/etc_files/eeepc/opt/firefox/defaults/pref/autoconfig.js b/buster/etc_files/eeepc/opt/firefox/defaults/pref/autoconfig.js
new file mode 100644
index 0000000..cf8ea80
--- /dev/null
+++ b/buster/etc_files/eeepc/opt/firefox/defaults/pref/autoconfig.js
@@ -0,0 +1,4 @@
+// We set up AutoConfig according to <https://support.mozilla.org/en-US/kb/customizing-firefox-using-autoconfig>, see firefox.cfg comments on why we need it
+pref("general.config.filename", "firefox.cfg");
+pref("general.config.obscure_value", 0);
+
diff --git a/buster/etc_files/eeepc/opt/firefox/firefox.cfg b/buster/etc_files/eeepc/opt/firefox/firefox.cfg
new file mode 100644
index 0000000..8ab342e
--- /dev/null
+++ b/buster/etc_files/eeepc/opt/firefox/firefox.cfg
@@ -0,0 +1,3 @@
+// do not put any code into this first line, as it gets ignored by Firefox
+// we zero extensions.autoDisableScopes so our pre-installed extensions activate by default
+pref("extensions.autoDisableScopes", 0);