autoconfig: use lockPref here as well

This commit is contained in:
Aminda Suomalainen 2024-05-19 20:39:52 +03:00
parent 473d0ba704
commit ae08cd834e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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