You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
firefox/SOURCES/0001-Overt-telemetry-disabl...

77 lines
3.5 KiB

From aeacede399f0252b1812fd61faa78154eac4e4a7 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
Date: Thu, 5 Oct 2023 16:04:39 +0300
Subject: [PATCH] Overt telemetry disabling
---
modules/libpref/init/all.js | 26 +++++++++++++++++++++-----
1 file changed, 21 insertions(+), 5 deletions(-)
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index c7c6f0ca82..e2aeb3935e 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -639,15 +639,29 @@ pref("toolkit.sqlitejsm.loglevel", "Error");
pref("toolkit.tabbox.switchByScrolling", false);
// Telemetry settings.
+// MSVSphere disable telemetry and geolocation by default
+pref("toolkit.telemetry.updatePing.enabled", false);
+pref("browser.newtabpage.activity-stream.feeds.telemetry", false);
+pref("browser.newtabpage.activity-stream.telemetry", false);
+pref("browser.ping-centre.telemetry", false);
+pref("toolkit.telemetry.bhrPing.enabled", false);
+pref("toolkit.telemetry.enabled", false);
+pref("toolkit.telemetry.firstShutdownPing.enabled", false);
+pref("toolkit.telemetry.hybridContent.enabled", false);
+pref("toolkit.telemetry.newProfilePing.enabled", false);
+pref("toolkit.telemetry.reportingpolicy.firstRun", false);
+pref("toolkit.telemetry.shutdownPingSender.enabled", false);
+pref("toolkit.telemetry.archive.enabled", false);
+pref("devtools.onboarding.telemetry.logged", false);
// Server to submit telemetry pings to.
-pref("toolkit.telemetry.server", "https://incoming.telemetry.mozilla.org");
+pref("toolkit.telemetry.server", "");
// Telemetry server owner. Please change if you set toolkit.telemetry.server to a different server
-pref("toolkit.telemetry.server_owner", "Mozilla");
+pref("toolkit.telemetry.server_owner", "MSVSphere");
// Determines whether full SQL strings are returned when they might contain sensitive info
// i.e. dynamically constructed SQL strings or SQL executed by addons against addon DBs
pref("toolkit.telemetry.debugSlowSql", false);
// Whether to use the unified telemetry behavior, requires a restart.
-pref("toolkit.telemetry.unified", true);
+pref("toolkit.telemetry.unified", false);
// DAP related preferences
pref("toolkit.telemetry.dap_enabled", false);
@@ -3249,6 +3263,8 @@ pref("network.psl.onUpdate_notify", false);
// All the Geolocation preferences are here.
//
+// MSVSphere Geo location sends location data
+pref("geo.enabled", false);
#ifndef EARLY_BETA_OR_EARLIER
pref("geo.provider.network.url", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%");
#else
@@ -3871,7 +3887,7 @@ pref("toolkit.aboutProcesses.profileDuration", 5);
pref("toolkit.legacyUserProfileCustomizations.stylesheets", false);
#ifdef MOZ_DATA_REPORTING
- pref("datareporting.policy.dataSubmissionEnabled", true);
+ pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
pref("datareporting.policy.dataSubmissionPolicyAcceptedVersion", 0);
pref("datareporting.policy.dataSubmissionPolicyBypassNotification", false);
@@ -3886,7 +3902,7 @@ pref("toolkit.legacyUserProfileCustomizations.stylesheets", false);
pref("datareporting.healthreport.infoURL", "https://www.mozilla.org/legal/privacy/firefox.html#health-report");
// Health Report is enabled by default on all channels.
- pref("datareporting.healthreport.uploadEnabled", true);
+ pref("datareporting.healthreport.uploadEnabled", false);
#endif
#endif
--
2.41.0