From ae08cd834ecea27b1dd2976e1a975612546a7405 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 19 May 2024 20:39:52 +0300 Subject: [PATCH] autoconfig: use lockPref here as well --- conf/autoconfig.js | 6 +++--- conf/autoconfig.js.online | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/conf/autoconfig.js b/conf/autoconfig.js index 30b1c53a..8d5bc380 100644 --- a/conf/autoconfig.js +++ b/conf/autoconfig.js @@ -3,7 +3,7 @@ // However the file below belongs to ../../ e.g. /usr/lib/64/firefox/ or // ~/.local/firefox/ -//pref("general.config.filename", "librewolf.overrides.cfg"); -pref("general.config.filename", "firefox-forbidden-policies.js"); -pref("general.config.obscure_value", 0); +//lockPref("general.config.filename", "librewolf.overrides.cfg"); +lockPref("general.config.filename", "firefox-forbidden-policies.js"); +lockPref("general.config.obscure_value", 0); // vim: filetype=javascript diff --git a/conf/autoconfig.js.online b/conf/autoconfig.js.online index 14af47d8..8f199f15 100644 --- a/conf/autoconfig.js.online +++ b/conf/autoconfig.js.online @@ -1,9 +1,9 @@ // This file belongs to Firefox `default/pref` directory as `autoconfig.js`. // E.g. /usr/lib64/firefox/defaults/pref/autoconfig.js -//pref("autoadmin.global_config_url","https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js"); -pref("autoadmin.global_config_url","file:///home/aminda/public_html/autoconfig.js"); -pref("general.config.obscure_value", 0); -pref("autoadmin.refresh_interval", 120); -pref("autoadmin.offline_failover", true); -pref("autoadmin.failover_to_cached", true); +//lockPref("autoadmin.global_config_url","https://gitea.blesmrt.net/mikaela/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js"); +lockPref("autoadmin.global_config_url","file:///home/aminda/public_html/autoconfig.js"); +lockPref("general.config.obscure_value", 0); +lockPref("autoadmin.refresh_interval", 120); +lockPref("autoadmin.offline_failover", true); +lockPref("autoadmin.failover_to_cached", true); // vim: filetype=javascript