summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/patches/about-addons.patch4
-rw-r--r--data/patches/disable-sync.patch31
-rw-r--r--data/patches/hide-firefox-view-button.patch14
-rw-r--r--data/patches/hide-protections-dashboard.patch2
-rw-r--r--data/patches/hide-submit-feedback-menu-item.patch6
-rw-r--r--data/patches/icecat-about-dialog.patch20
-rw-r--r--data/settings.js57
7 files changed, 118 insertions, 16 deletions
diff --git a/data/patches/about-addons.patch b/data/patches/about-addons.patch
index 179e336..fd5e609 100644
--- a/data/patches/about-addons.patch
+++ b/data/patches/about-addons.patch
@@ -1,6 +1,6 @@
--- a/toolkit/mozapps/extensions/content/aboutaddons.html
+++ b/toolkit/mozapps/extensions/content/aboutaddons.html
-@@ -171,12 +171,12 @@
+@@ -201,12 +201,12 @@
<template name="addon-page-header">
<div class="sticky-container">
<div class="main-search">
@@ -15,7 +15,7 @@
</div>
<div class="main-heading">
<button
-@@ -693,6 +693,7 @@
+@@ -769,6 +769,7 @@
</div>
<div class="view-footer-item">
<a
diff --git a/data/patches/disable-sync.patch b/data/patches/disable-sync.patch
new file mode 100644
index 0000000..c884ab1
--- /dev/null
+++ b/data/patches/disable-sync.patch
@@ -0,0 +1,31 @@
+--- a/services/settings/RemoteSettingsClient.sys.mjs
++++ b/services/settings/RemoteSettingsClient.sys.mjs
+@@ -621,6 +621,8 @@
+ * @param {Object} options See #maybeSync() options.
+ */
+ async sync(options) {
++ return; /* Hard-disable sync */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return;
+ }
+--- a/services/settings/remote-settings.sys.mjs
++++ b/services/settings/remote-settings.sys.mjs
+@@ -209,6 +209,8 @@
+ * @throws {Error} If the signature of any bundled changeset is invalid.
+ */
+ remoteSettings.pullStartupBundle = async () => {
++ return []; /* Hard-disable pulling it */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return [];
+ }
+@@ -304,6 +306,8 @@
+ trigger = "manual",
+ full = false,
+ } = {}) => {
++ return; /* Hard-disable polling remote settings */
++
+ if (lazy.Utils.shouldSkipRemoteActivityDueToTests) {
+ return;
+ }
diff --git a/data/patches/hide-firefox-view-button.patch b/data/patches/hide-firefox-view-button.patch
index 52bad1c..29cd8c9 100644
--- a/data/patches/hide-firefox-view-button.patch
+++ b/data/patches/hide-firefox-view-button.patch
@@ -1,5 +1,15 @@
---- a/browser/base/content/navigator-toolbox.inc.xhtml 2025-08-12 02:31:44.000000000 +0900
-+++ b/browser/base/content/navigator-toolbox.inc.xhtml 2025-08-26 21:10:15.709368257 +0900
+--- a/browser/base/content/browser-menubar.inc
++++ b/browser/base/content/browser-menubar.inc
+@@ -362,6 +362,7 @@
+ data-l10n-id="menu-tools-fxa-re-auth"/>
+
+ <menuitem id="menu_openFirefoxView"
++ hidden="true"
+ data-l10n-id="menu-tools-firefox-view"/>
+ <menuseparator id="devToolsSeparator"/>
+ <menu id="browserToolsMenu" data-l10n-id="menu-tools-browser-tools">
+--- a/browser/base/content/navigator-toolbox.inc.xhtml
++++ b/browser/base/content/navigator-toolbox.inc.xhtml
@@ -41,6 +41,7 @@
role="button"
aria-pressed="false"
diff --git a/data/patches/hide-protections-dashboard.patch b/data/patches/hide-protections-dashboard.patch
index f6da18a..d7dc855 100644
--- a/data/patches/hide-protections-dashboard.patch
+++ b/data/patches/hide-protections-dashboard.patch
@@ -1,6 +1,6 @@
--- a/browser/base/content/browser-siteProtections.js
+++ b/browser/base/content/browser-siteProtections.js
-@@ -1816,7 +1816,7 @@
+@@ -1950,7 +1950,7 @@
this._trackingProtectionIconContainer.hidden = true;
return;
}
diff --git a/data/patches/hide-submit-feedback-menu-item.patch b/data/patches/hide-submit-feedback-menu-item.patch
index 5278da7..1aa44c0 100644
--- a/data/patches/hide-submit-feedback-menu-item.patch
+++ b/data/patches/hide-submit-feedback-menu-item.patch
@@ -1,6 +1,6 @@
---- a/browser/base/content/browser-menubar.inc 2025-08-26 21:16:57.929903122 +0900
-+++ b/browser/base/content/browser-menubar.inc 2025-08-26 21:17:09.257918204 +0900
-@@ -431,6 +431,7 @@
+--- a/browser/base/content/browser-menubar.inc
++++ b/browser/base/content/browser-menubar.inc
+@@ -432,6 +432,7 @@
disabled="true"
appmenu-data-l10n-id="appmenuitem-report-broken-site"/>
<menuitem id="feedbackPage"
diff --git a/data/patches/icecat-about-dialog.patch b/data/patches/icecat-about-dialog.patch
index 87dc835..0a52345 100644
--- a/data/patches/icecat-about-dialog.patch
+++ b/data/patches/icecat-about-dialog.patch
@@ -1,5 +1,14 @@
---- a/browser/base/content/aboutDialog.xhtml 2025-08-26 21:23:08.866394736 +0900
-+++ b/browser/base/content/aboutDialog.xhtml 2025-08-26 21:23:19.986408921 +0900
+--- a/browser/base/content/aboutDialog.xhtml
++++ b/browser/base/content/aboutDialog.xhtml
+@@ -124,7 +124,7 @@
+ <label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-exp-creditsLink"/>
+ </description>
+ </vbox>
+- <description class="text-blurb" id="communityDesc" data-l10n-id="community-2">
++ <description class="text-blurb" id="communityDesc" data-l10n-id="community-2" hidden="true">
+ <label is="text-link" href="https://www.mozilla.org/?utm_source=firefox-browser&#38;utm_medium=firefox-desktop&#38;utm_campaign=about-dialog" data-l10n-name="community-mozillaLink"/>
+ <label is="text-link" useoriginprincipal="true" href="about:credits" data-l10n-name="community-creditsLink"/>
+ </description>
@@ -139,7 +139,6 @@
<hbox pack="center">
<label is="text-link" class="bottom-link" useoriginprincipal="true" href="about:license" data-l10n-id="bottomLinks-license"/>
@@ -8,8 +17,8 @@
</hbox>
<description id="trademark" data-l10n-id="trademarkInfo"></description>
</vbox>
---- a/browser/base/content/aboutDialog.css 2025-08-26 21:26:43.618669160 +0900
-+++ b/browser/base/content/aboutDialog.css 2025-08-26 21:31:54.207067616 +0900
+--- a/browser/base/content/aboutDialog.css
++++ b/browser/base/content/aboutDialog.css
@@ -32,10 +32,9 @@
#rightBox {
background-image: url("chrome://branding/content/about-wordmark.svg");
@@ -22,6 +31,3 @@
/* We don't want this box to contribute arbitrarily to the intrinsic size of
* the dialog, so set the width to a reasonable size, but let it flex to take
* all available space. */
---- a/browser/base/content/aboutDialog.css
-+++ b/browser/base/content/aboutDialog.css
- #rightBox:-moz-locale-dir(rtl) {
diff --git a/data/settings.js b/data/settings.js
index ced4e94..2516d4d 100644
--- a/data/settings.js
+++ b/data/settings.js
@@ -30,6 +30,7 @@ pref("privacy.firstparty.isolate", true);
// Extensions cannot be updated without permission
pref("extensions.update.enabled", false);
+pref("extensions.update.autoUpdateDefault", false);
// Set the default locale to that of the operating system.
pref("intl.locale.requested", "");
@@ -53,6 +54,9 @@ pref("extensions.blocklist.enabled", false);
// disable app updater url
pref("app.update.url", "http://127.0.0.1/");
+// Disable Smartblock embed placeholders
+pref("extensions.webcompat.smartblockEmbeds.enabled", false);
+
//pref ("browser.startup.page" , 3);
//pref ("browser.startup.homepage" , "https://www.gnu.org/software/gnuzilla/");
//pref ("startup.homepage_welcome_url", "https://www.gnu.org/software/gnuzilla/");
@@ -95,6 +99,7 @@ pref("network.protocol-handler.external.apt+http",true);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.donottrackheader.value", 1);
pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false);
+pref("browser.tabs.crashReporting.sendReport", false);
pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.malware.enabled", false);
@@ -105,6 +110,7 @@ pref("browser.safebrowsing.provider.google4.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("services.sync.privacyURL", "https://www.gnu.org/software/gnuzilla/");
+pref("services.sync.syncedTabs.showRemoteIcons", false);
pref("social.enabled", false);
pref("social.remote-install.enabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
@@ -116,6 +122,9 @@ pref("social.toast-notifications.enabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.healthreport.service.enabled", false);
pref("browser.slowStartup.notificationDisabled", true);
+pref("signon.icecatRelay.feature", "disabled");
+pref("signon.management.page.breach-alerts.enabled", false);
+pref("signon.management.page.vulnerable-passwords.enabled", false);
pref("network.http.sendRefererHeader", 2);
pref("network.http.referer.spoofSource", true);
// We don't want to send the Origin header
@@ -130,8 +139,16 @@ pref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.server", "");
pref("experiments.manifest.uri", "");
pref("toolkit.telemetry.unified", false);
+pref("toolkit.telemetry.shutdownPingSender.enabled", false);
+pref("toolkit.telemetry.firstShutdownPing.enabled", false);
+pref("toolkit.telemetry.newProfilePing.enabled", false);
+pref("toolkit.telemetry.bhrPing.enabled", false);
// Make sure updater telemetry is disabled; see <https://trac.torproject.org/25909>.
pref("toolkit.telemetry.updatePing.enabled", false);
+// Disable the targeting context telemetry.
+pref("nimbus.telemetry.targetingContextEnabled", false);
+// Disable BackupService
+pref("browser.backup.enabled", false);
// Do not tell what plugins do we have enabled: https://mail.mozilla.org/pipermail/firefox-dev/2013-November/001186.html
pref("plugins.enumerable_names", "");
pref("plugin.state.flash", 0);
@@ -145,10 +162,24 @@ pref("camera.control.face_detection.enabled", false);
pref("camera.control.autofocus_moving_callback.enabled", false);
pref("network.http.speculative-parallel-limit", 0);
// No search suggestions
+pref("browser.search.suggest.enabled", false);
+pref("browser.search.serpEventTelemetryCategorization.enabled", false);
pref("browser.urlbar.userMadeSearchSuggestionsChoice", true);
pref("browser.urlbar.groupLabels.enabled", false);
pref("browser.urlbar.merino.enabled", false);
-pref("browser.search.suggest.enabled", false);
+pref("browser.urlbar.suggest.addons", false);
+pref("browser.urlbar.suggest.fakespot", false);
+pref("browser.urlbar.suggest.mdn", false);
+pref("browser.urlbar.suggest.remotetab", false);
+pref("browser.urlbar.suggest.searches", false);
+pref("browser.urlbar.suggest.trending", false);
+pref("browser.urlbar.suggest.weather", false);
+pref("browser.urlbar.suggest.yelp", false);
+pref("browser.urlbar.trending.featureGate", false);
+pref("browser.urlbar.recentsearches.featureGate", false);
+pref("browser.urlbar.richSuggestions.featureGate", false);
+pref("browser.urlbar.showSearchTerms.enabled", false);
+pref("browser.urlbar.contextualSearch.enabled", false);
// Always ask before restoring the browsing session
pref("browser.sessionstore.max_resumed_crashes", 0);
// Don't ping Mozilla for MitM detection, see <https://bugs.torproject.org/32321>
@@ -195,6 +226,10 @@ pref("privacy.resistFingerprinting", true);
pref("webgl.disabled", true);
pref("privacy.trackingprotection.cryptomining.enabled", true);
pref("privacy.trackingprotection.fingerprinting.enabled", true);
+// Do not warm up network connections for places: menus and places: toolbar.
+pref("browser.places.speculativeConnect.enabled", false);
+// Turn off interaction measurements
+pref("browser.places.interactions.enabled", false);
// Services
pref("gecko.handlerService.schemes.mailto.0.name", "");
@@ -214,6 +249,13 @@ pref("browser.partnerlink.attributionURL", "");
// Disable channel updates
pref("app.update.enabled", false);
pref("app.update.auto", false);
+pref("app.update.staging.enabled", false);
+pref("app.update.langpack.enabled", false);
+
+// Disable Generative AI features
+pref("browser.ml.chat.enabled", false);
+pref("browser.ml.chat.shortcuts", false);
+pref("browser.ml.chat.sidebar", false);
// EME
pref("media.eme.enabled", false);
@@ -221,6 +263,10 @@ pref("media.eme.apiVisible", false);
// Firefox Accounts
pref("identity.fxaccounts.enabled", false);
+pref("identity.fxaccounts.toolbar.enabled", false);
+pref("identity.fxaccounts.toolbar.pxiToolbarEnabled", false);
+pref("identity.fxaccounts.commands.remoteTabManagement.enabled", false);
+pref("identity.fxaccounts.telemetry.clientAssociationPing.enabled", false);
// WebRTC
pref("media.peerconnection.enabled", true);
@@ -248,6 +294,8 @@ pref("gecko.handlerService.schemes.irc.0.uriTemplate", "");
// https://kiwiirc.com/client/irc.247cdn.net/?nick=Your%20Nickname#underwater-hockey
// Don't call home for blacklisting
pref("extensions.blocklist.enabled", false);
+// Disable data collection permissions.
+pref("extensions.dataCollectionPermissions.enabled", false);
@@ -268,6 +316,8 @@ pref ("extensions.systemAddon.update.url", "");
pref ("extensions.systemAddon.update.enabled", false);
pref ("extensions.getAddons.cache.enabled", false);
+pref ("browser.discovery.enabled", false);
+
// FIXME: find better URLs for these:
pref ("extensions.getAddons.langpacks.url", "https://gnuzilla.gnu.org/mozzarella");
pref ("lightweightThemes.getMoreURL", "https://gnuzilla.gnu.org/mozzarella");
@@ -330,6 +380,8 @@ pref("browser.aboutHomeSnippets.updateUrl", "data:text/html");
// In <about:preferences>, hide "More from Mozilla"
// (renamed to "More from GNU" by the global renaming)
pref("browser.preferences.moreFromMozilla", false);
+// Hide the "IceCat Labs" section
+pref("browser.preferences.experimental", false);
// Disable hardware acceleration
//pref("layers.acceleration.disabled", false);
@@ -414,6 +466,8 @@ pref("browser.region.network.scan", false);
pref("browser.region.network.url", "");
// Disable VPN/mobile promos
+pref("browser.contentblocking.database.enabled", false);
+pref("browser.contentblocking.cfr-milestone.enabled", false);
pref("browser.contentblocking.report.hide_vpn_banner", true);
pref("browser.contentblocking.report.mobile-ios.url", "");
pref("browser.contentblocking.report.mobile-android.url", "");
@@ -423,6 +477,7 @@ pref("browser.contentblocking.report.vpn.url", "");
pref("browser.contentblocking.report.vpn-promo.url", "");
pref("browser.contentblocking.report.vpn-android.url", "");
pref("browser.contentblocking.report.vpn-ios.url", "");
+pref("browser.contentblocking.report.lockwise.enabled", false);
pref("browser.privatebrowsing.promoEnabled", false);
pref("browser.privatebrowsing.vpnpromourl", "");
pref("browser.vpn_promo.enabled", false);