added overrides section
This commit is contained in:
parent
e7183e626d
commit
8a79a9660b
1 changed files with 12 additions and 0 deletions
|
|
@ -161,6 +161,18 @@ lockPref("browser.contentblocking.category", "custom"); // changing to other opt
|
||||||
=======
|
=======
|
||||||
defaultPref("general.config.filename", "librewolf.cfg");
|
defaultPref("general.config.filename", "librewolf.cfg");
|
||||||
|
|
||||||
|
// -----------------------------------
|
||||||
|
// OVERRIDES
|
||||||
|
// -----------------------------------
|
||||||
|
|
||||||
|
// allow settings to be overriden with a file at `~/.librewolf/librewolf.overrides.cfg`
|
||||||
|
// or `~/.var/app/io.gitlab.librewolf-community/.librewolf/librewolf.overrides.cfg` (Flatpak).
|
||||||
|
// not yet verified to work on Windows and MacOS releases
|
||||||
|
let home_directory = getenv("HOME");
|
||||||
|
if (home_directory) {
|
||||||
|
pref("autoadmin.global_config_url", `file://${home_directory}/.librewolf/librewolf.overrides.cfg`);
|
||||||
|
}
|
||||||
|
|
||||||
// -----------------------------------
|
// -----------------------------------
|
||||||
// TRACKING PROTECTION
|
// TRACKING PROTECTION
|
||||||
// -----------------------------------
|
// -----------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue