Patcher/pre-compile-patches/no-telemetry.patch

51 lines
2.7 KiB
Diff
Raw Normal View History

2024-12-08 20:26:13 +01:00
t:pref
i:/browser/app/profile/firefox.js
o:/browser/app/profile/firefox.js
2024-12-15 13:57:32 +01:00
+lockPref("toolkit.telemetry.unified", false); // master switch
+lockPref("toolkit.telemetry.enabled", false); // master switch
+lockPref("toolkit.telemetry.server", "data:,");
+lockPref("toolkit.telemetry.archive.enabled", false);
+lockPref("toolkit.telemetry.newProfilePing.enabled", false);
+lockPref("toolkit.telemetry.updatePing.enabled", false);
+lockPref("toolkit.telemetry.firstShutdownPing.enabled", false);
+lockPref("toolkit.telemetry.shutdownPingSender.enabled", false);
+lockPref("toolkit.telemetry.bhrPing.enabled", false);
+lockPref("toolkit.telemetry.cachedClientID", "");
+lockPref("toolkit.telemetry.previousBuildID", "");
+lockPref("toolkit.telemetry.server_owner", "");
+lockPref("toolkit.coverage.opt-out", true); // hidden
+lockPref("toolkit.coverage.enabled", false);
+lockPref("toolkit.coverage.endpoint.base", "");
+lockPref("toolkit.crashreporter.infoURL", "");
+lockPref("datareporting.healthreport.uploadEnabled", false);
+lockPref("datareporting.policy.dataSubmissionEnabled", false);
+lockPref("security.protectionspopup.recordEventTelemetry", false);
+lockPref("browser.ping-centre.telemetry", false);
// opt-out of normandy and studies
+lockPref("app.normandy.enabled", false);
+lockPref("app.normandy.api_url", "");
+lockPref("app.shield.optoutstudies.enabled", false);
// disable personalized extension recommendations
+lockPref("browser.discovery.enabled", false);
// disable crash report
+lockPref("browser.tabs.crashReporting.sendReport", false);
+lockPref("breakpad.reportURL", "");
// disable connectivity checks
+pref("network.connectivity-service.enabled", false);
// disable captive portal
+pref("network.captive-portal-service.enabled", false);
+pref("captivedetect.canonicalURL", "");
// disable Privacy-Preserving Attribution
+pref("dom.private-attribution.submission.enabled", false);
2024-12-08 20:26:13 +01:00
+pref("toolkit.telemetry.server", ""); // Clear telemetry server
+pref("browser.newtabpage.activity-stream.feeds.telemetry", false); // Disable new tab telemetry
+pref("browser.newtabpage.activity-stream.telemetry", false); // Disable activity stream telemetry
+pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // Disable auto submission of crash reports
+pref("extensions.htmlaboutaddons.recommendations.enabled", false); // Disable addon recommendations
2024-12-15 13:57:32 +01:00
// windows specific
+lockPref("default-browser-agent.enabled", false); // disable windows specific telemetry
+defaultPref("network.protocol-handler.external.ms-windows-store", false); // prevent links from launching windows store
+pref("toolkit.winRegisterApplicationRestart", false); // disable automatic start and session restore after reboot
+lockPref("security.family_safety.mode", 2); // Remove pre-Win10-specific codepath