Go to file
ohfp b33bfb5a03 Allow overriding prefs
This commit would allow overriding prefs
(locked or otherwise) with a user accessible file even
on sandboxed/restricted releases (like AppImage or Flatpak).

This works because the last specific pref value that is parsed
during startup is the one that gets actually applied; this way
an empty / non existing overrides file will not have any effect,
and only prefs changed in this file will be changed, while other
prefs from the `librewolf.cfg` will still be applied.

The difference to a `user.js` is that at this stage / with this
file, even locked prefs can still be modified.

Should we desire to have some prefs _really_ locked down (which we
do not want to be changeable with this override method), we could
just place them after the changes from this MR - so they would be
parsed after those defined in the overrides file and could override
pref changes made there.

Somewhat related to #45, #27; should partially fix #8 and basically
mitigate the recurring issues of users unable to edit some locked
settings when using a more restricted release variant.

Should probably be added to the docs, once merged.
2021-04-30 09:36:19 +00:00
defaults/pref Initial Commit 2019-08-16 19:49:17 -05:00
distribution Use data URIs for search engine icons 2021-04-30 09:29:28 +00:00
librewolf.cfg Allow overriding prefs 2021-04-30 09:36:19 +00:00
LICENSE.txt Add license 2020-03-12 11:11:28 +05:30
README.md Add readme 2020-07-04 03:41:59 +05:30

LibreWolf settings

Heavily borrowed from ghacks-user.js and pyllyukko/user.js. Not affiliated with either.