allo- / ffprofile

A tool to create firefox profiles with personalized defaults.
GNU Affero General Public License v3.0
771 stars 56 forks source link

[Question] incomplete prefs collection for disabling telemetry? #295

Closed mpeter50 closed 4 weeks ago

mpeter50 commented 4 weeks ago

When I generate a profile with no settings other than disabling telemetry, the resulting prefs.js will contain these lines:

user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.bhrPing.enabled", false);
user_pref("toolkit.telemetry.cachedClientID", "");
user_pref("toolkit.telemetry.enabled", false);
user_pref("toolkit.telemetry.firstShutdownPing.enabled", false);
user_pref("toolkit.telemetry.hybridContent.enabled", false);
user_pref("toolkit.telemetry.newProfilePing.enabled", false);
user_pref("toolkit.telemetry.prompted", 2);
user_pref("toolkit.telemetry.rejected", true);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.shutdownPingSender.enabled", false);
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.unifiedIsOptIn", false);
user_pref("toolkit.telemetry.updatePing.enabled", false);

However the Enterprise Policy documentation on the DisableTemeletry policy says that it affects these preferences:

The first two are not included in the prefs.js. Are they known to be unneeded?

allo- commented 4 weeks ago

You need either prefs or the policy. The preferences are how most people would configure Firefox and how it stores the settings itself and the policy is a way to enforce certain settings system-wide.

prefs:

policy:

HDark15 commented 3 weeks ago

@allo- I think that's important for user to know, maybe put it somewhere

mpeter50 commented 3 weeks ago

Yeah, I assumed policies just make some settings global, so I did not apply them. Being able to only download the prefs also implies that I think. Besides, sometimes you dont want to use policies because you only want settings for a specific profile.

I think it would be better if everything (that is possible) would be set in the prefs too.

allo- commented 3 weeks ago

@allo- I think that's important for user to know, maybe put it somewhere

I guess the main zip should be marked as "Use This!" and the others are optional alternatives. See #296 for adding better explanations.

Yeah, I assumed policies just make some settings global, so I did not apply them. Being able to only download the prefs also implies that I think.

The usual zip contains everything you only need the policies in addition for a few settings that are not exposed as about:config settings.

Policies are another method to apply certain settings. They are more limited, but for administrators who want to preconfigure things on their company's computers the cleaner method than distributing zipped profiles.