Why does the example user.js in the wiki use modified values?
See original GitHub issueTrying to wrap my head around how updating and maintaining one’s config works.
The example from the wiki that explains how to enable session restore lists user_pref("privacy.clearOnShutdown.cookies", true);
even though it is set to false in user.js.
Is this just a wiki’s oversight/outdated entry, or am I actually supposed to manually modify things inside user.js and not just user-overrides.js? The wiki seems to strongly discourage that.
Question 2: I put the following lines in my user-overrides.js:
// user_pref("browser.safebrowsing.downloads.remote.enabled", false);
// user_pref("browser.safebrowsing.downloads.remote.url", "");
because one of the first pages in the wiki recommended to not use those settings, and ran the updater script, but all that seems to have done was append the two lines to the bottom of user.js. I thought it would reset the two settings to their default values. So then how do I undo the setting?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
because recipes include potential footgun prefs that arkenfox currently has, or has had in the past (active or inactive) but within reason (I’m not going to list items that were removed a year ago)
many are listed as optional or don’t bother: so by default they are inactive (commented out)
the personal section is nothing to do with privacy etc, so they are also all commented out. Your example is one of these. That said, we did make four active (i.e not commented out) because it seems everyone does that and it saves using overrides
please, show some respect 😃 We do not simply list preferences. What is added is researched, tested, references provided etc
and fuck no 😃 there are in excess of 3000 prefs off the top of my head (but I’m not going to count them) and they are constantly changing - 70 to 100 prefs per release. Over an ESR lifecycle that could be 700 or 800 prefs coming or going and changing values
read the section headers: don’t bother, don’t bother fingerprinting, optional hardening, optional opsec, personal
That leaves
44
inactive (commented out) prefs up to and including section 4500. And that’s the idea, they are of interest: many have tags such as warning or setupThe current 44
geo.provider.network.logging.enabled
privacy.resistFingerprinting
prefsbrowser.send_pings
Here those 44
Okay so it’s an outdated entry, got it. But in that same example, and even the recipes page, the following is listed under overrides:
What’s the point of putting that in overrides if it has no effect? I thought prior to opening this issue that it would remove the line that says
user_pref("privacy.clearOnShutdown.cookies", false);
in user.js and reset the pref in prefs.js using the prefsCleaner script.One more question: why are some prefs in user.js commented out?
Is this to signify that this is a pref that could be of interest to the user, so even though it’s not used, it is something that could be worth changing? Or do you simply list every single config in existence and comment out the irrelevant ones? My guess is it’s the former because there are prefs that you don’t list at all.