firefox: restore online autoconfig

This commit is contained in:
Aminda Suomalainen 2025-03-27 14:29:42 +02:00
parent 8be3b805f0
commit 29d4dbb9bd
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,3 @@
/** @format */
// This file belongs to Firefox `default/pref` directory.
// E.g. /usr/lib64/firefox/defaults/pref/ or ~/.local/firefox/defaults/pref/

View File

@ -1,15 +1,16 @@
/** @format */
// This file belongs to Firefox `default/pref` directory as `autoconfig.js`.
// E.g. /usr/lib64/firefox/defaults/pref/autoconfig.js
// WARNING: lockPref() IS NOT ALLOWED HERE!
//pref("autoadmin.global_config_url","https://codeberg.org/Aminda/shell-things/raw/branch/master/conf/firefox-forbidden-policies.js");
pref(
"autoadmin.global_config_url",
"file:///home/aminda/public_html/autoconfig.js",
"https://raw.githubusercontent.com/Mikaela/shell-things/refs/heads/cxefa/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);