From cc57a41d19002c9a7e56a3e201dc2d0b159940c3 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Fri, 28 Jul 2023 17:31:52 +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 6e0effe78b..aee199df4c 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -684,15 +684,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); // AsyncShutdown delay before crashing in case of shutdown freeze #if !defined(MOZ_ASAN) && !defined(MOZ_TSAN) pref("toolkit.asyncshutdown.crash_timeout", 60000); // 1 minute @@ -3557,6 +3571,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 @@ -4155,7 +4171,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); @@ -4170,7 +4186,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.39.2