From 1277732f202321f959509691d7fef315aaaba6aa Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 14 Dec 2023 18:09:14 +0300 Subject: [PATCH] Overt telemetry disabling --- modules/libpref/init/all.js | 38 ++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index c7c6f0ca82..69ca3653d4 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -256,7 +256,7 @@ pref("media.decoder-doctor.decode-warnings-allowed", ""); // Whether we report partial failures. pref("media.decoder-doctor.verbose", false); // URL to report decode issues -pref("media.decoder-doctor.new-issue-endpoint", "https://webcompat.com/issues/new"); +pref("media.decoder-doctor.new-issue-endpoint", ""); pref("media.videocontrols.picture-in-picture.enabled", false); pref("media.videocontrols.picture-in-picture.display-text-tracks.enabled", true); @@ -639,26 +639,40 @@ 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); // Verification tasks pref("toolkit.telemetry.dap_task1_enabled", false); // Leader endpoint for the DAP protocol -pref("toolkit.telemetry.dap_leader", "https://dap-02.api.divviup.org"); +pref("toolkit.telemetry.dap_leader", ""); // Not used for anything. Just additional information. pref("toolkit.telemetry.dap_leader_owner", "ISRG"); // Second DAP server. Only two are currently supported. -pref("toolkit.telemetry.dap_helper", "https://helper1.dap.cloudflareresearch.com/v02"); +pref("toolkit.telemetry.dap_helper", ""); pref("toolkit.telemetry.dap_helper_owner", "Cloudflare"); pref("toolkit.telemetry.dap.logLevel", "Warn"); @@ -702,7 +716,7 @@ pref("toolkit.dump.emit", false); // This pref configures the base URL for the profiler.firefox.com instance to // use. This is useful so that a developer can change it while working on // profiler.firefox.com, or in tests. This isn't exposed directly to the user. -pref("devtools.performance.recording.ui-base-url", "https://profiler.firefox.com"); +pref("devtools.performance.recording.ui-base-url", ""); // When gathering profiles from child processes, this is the longest time (in // seconds) allowed between two responses. 0 = Use internal default. pref("devtools.performance.recording.child.timeout_s", 0); @@ -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,22 +3887,22 @@ 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); pref("datareporting.policy.currentPolicyVersion", 2); pref("datareporting.policy.minimumPolicyVersion", 1); pref("datareporting.policy.minimumPolicyVersion.channel-beta", 2); - pref("datareporting.policy.firstRunURL", "https://www.mozilla.org/privacy/firefox/"); + pref("datareporting.policy.firstRunURL", ""); #endif #ifdef MOZ_SERVICES_HEALTHREPORT #if !defined(ANDROID) - pref("datareporting.healthreport.infoURL", "https://www.mozilla.org/legal/privacy/firefox.html#health-report"); + pref("datareporting.healthreport.infoURL", ""); // Health Report is enabled by default on all channels. - pref("datareporting.healthreport.uploadEnabled", true); + pref("datareporting.healthreport.uploadEnabled", false); #endif #endif -- 2.39.3