diff --git a/pre-compile-patches/no-firefox-updates.patch b/pre-compile-patches/no-firefox-updates.patch new file mode 100644 index 0000000..415cbb2 --- /dev/null +++ b/pre-compile-patches/no-firefox-updates.patch @@ -0,0 +1,11 @@ +t:pref +i:/browser/app/profile/firefox.js +o:/browser/app/profile/firefox.js + ++lockPref("app.update.auto", false); // Disable automatic updates ++lockPref("app.update.enabled", false); // Disable update checking ++lockPref("app.update.service.enabled", false); // Disable update service ++defaultPref("app.update.background.scheduling.enabled", false); ++lockPref("app.update.silent", false); // Disable silent updates ++lockPref("app.update.staging.enabled", false); // Disable update staging ++lockPref("app.update.backgroundErrors", 0); // Reset background error counter \ No newline at end of file diff --git a/pre-compile-patches/no-telemetry.patch b/pre-compile-patches/no-telemetry.patch index 7bbe66c..ff5c28c 100644 --- a/pre-compile-patches/no-telemetry.patch +++ b/pre-compile-patches/no-telemetry.patch @@ -2,28 +2,49 @@ t:pref i:/browser/app/profile/firefox.js o:/browser/app/profile/firefox.js -+pref("toolkit.telemetry.unified", false); // Disable unified telemetry -+pref("toolkit.telemetry.enabled", false); // Disable telemetry ++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); +pref("toolkit.telemetry.server", ""); // Clear telemetry server -+pref("toolkit.telemetry.archive.enabled", false); // Disable telemetry archive -+pref("toolkit.telemetry.newProfilePing.enabled", false); // Disable new profile telemetry ping -+pref("toolkit.telemetry.shutdownPingSender.enabled", false); // Disable shutdown telemetry ping -+pref("toolkit.telemetry.updatePing.enabled", false); // Disable update telemetry ping -+pref("toolkit.telemetry.bhrPing.enabled", false); // Disable background hang reporting -+pref("toolkit.telemetry.firstShutdownPing.enabled", false); // Disable first shutdown telemetry ping -+pref("toolkit.coverage.opt-out", true); // Opt out of telemetry coverage -+pref("toolkit.coverage.endpoint.base", ""); // Clear telemetry coverage endpoint -+pref("datareporting.policy.dataSubmissionEnabled", false); // Disable data submission -+pref("datareporting.healthreport.uploadEnabled", false); // Disable health report upload +pref("browser.newtabpage.activity-stream.feeds.telemetry", false); // Disable new tab telemetry +pref("browser.newtabpage.activity-stream.telemetry", false); // Disable activity stream telemetry -+pref("app.shield.optoutstudies.enabled", false); // Disable Shield studies -+pref("app.normandy.enabled", false); // Disable Normandy -+pref("app.normandy.api_url", ""); // Clear Normandy API URL +pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); // Disable auto submission of crash reports -+pref("breakpad.reportURL", ""); // Disable crash report submission -+pref("captivedetect.canonicalURL", ""); // Disable captive portal detection -+pref("network.captive-portal-service.enabled", false); // Disable network connectivity service -+pref("network.connectivity-service.enabled", false); // Disable connectivity checks -+pref("browser.discovery.enabled", false); // Disable extension recommendations +pref("extensions.htmlaboutaddons.recommendations.enabled", false); // Disable addon recommendations +// 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