From e28f7ff93ea2a85a5b5576e8a6ca7fb2f4a8636b Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 14 Feb 2024 11:17:59 +0200 Subject: [PATCH] firefox autoconfig Resolves: Mikaela/mikaela.github.io#227 --- .mikaela_install | 3 +++ conf/autoconfig.js | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 conf/autoconfig.js diff --git a/.mikaela_install b/.mikaela_install index e9c47af4..68a42bfd 100755 --- a/.mikaela_install +++ b/.mikaela_install @@ -15,6 +15,9 @@ mkdir -p ~/.ssh cat .mikaela/keys/authorized_keys >~/.ssh/authorized_keys cat etc/ssh/ssh_config >~/.ssh/config cat .editorconfig >~/.editorconfig +mkdir -p ~/.local/firefox/defaults/pref/ +cat conf/autoconfig.js >~/.local/firefox/defaults/pref/autoconfig.js +cat conf/librewolf.overrides.cfg.js >~/.local/firefox/librewolf.overrides.cfg mkdir -p ~/.librewolf/ ~/.var/app/io.gitlab.librewolf-community/.librewolf/ cat conf/librewolf.overrides.cfg.js >~/.librewolf/librewolf.overrides.cfg cat conf/librewolf.overrides.cfg.js >~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg diff --git a/conf/autoconfig.js b/conf/autoconfig.js new file mode 100644 index 00000000..69ef551c --- /dev/null +++ b/conf/autoconfig.js @@ -0,0 +1,8 @@ +// This file belongs to Firefox `default/pref` directory. +// E.g. /usr/lib64/firefox/defaults/pref/ or ~/.local/firefox/defaults/pref/ + +// 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.obscure_value", 0); +// vim: filetype=javascript