summaryrefslogtreecommitdiff
path: root/stop-undesired-requests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'stop-undesired-requests.patch')
-rw-r--r--stop-undesired-requests.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/stop-undesired-requests.patch b/stop-undesired-requests.patch
new file mode 100644
index 0000000..63974d8
--- /dev/null
+++ b/stop-undesired-requests.patch
@@ -0,0 +1,55 @@
+diff --git a/browser/components/newtab/data/content/activity-stream.bundle.js b/browser/components/newtab/data/content/activity-stream.bundle.js
+index d5a3f10..b5efa81 100644
+--- a/browser/components/newtab/data/content/activity-stream.bundle.js
++++ b/browser/components/newtab/data/content/activity-stream.bundle.js
+@@ -1577,7 +1577,7 @@ class ASRouterAdminInner extends (external_React_default()).PureComponent {
+ label = /*#__PURE__*/external_React_default().createElement("span", null, "remote settings (", /*#__PURE__*/external_React_default().createElement("a", {
+ className: "providerUrl",
+ target: "_blank",
+- href: "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-experiments/records",
++ href: "https://%.invalid",
+ rel: "noopener noreferrer"
+ }, "nimbus-desktop-experiments"), ")");
+ }
+diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
+index 261e46f..22f8214 100644
+--- a/modules/libpref/init/all.js
++++ b/modules/libpref/init/all.js
+@@ -2181,7 +2181,7 @@ pref("security.insecure_field_warning.ignore_local_ip_address", true);
+
+ // Remote settings preferences
+ pref("services.settings.poll_interval", 86400); // 24H
+-pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1");
++pref("services.settings.server", "https://%.invalid");
+ pref("services.settings.default_bucket", "main");
+
+ // The percentage of clients who will report uptake telemetry as
+diff --git a/services/settings/Utils.jsm b/services/settings/Utils.jsm
+index 2ce9e87..cd132a3 100644
+--- a/services/settings/Utils.jsm
++++ b/services/settings/Utils.jsm
+@@ -89,7 +89,7 @@ var Utils = {
+ get SERVER_URL() {
+ return allowServerURLOverride
+ ? gServerURL
+- : "https://firefox.settings.services.mozilla.com/v1";
++ : "https://%.invalid";
+ },
+
+ CHANGES_PATH: "/buckets/monitor/collections/changes/changeset",
+diff --git a/toolkit/components/search/SearchUtils.jsm b/toolkit/components/search/SearchUtils.jsm
+index 983d567..5fb6ae7 100644
+--- a/toolkit/components/search/SearchUtils.jsm
++++ b/toolkit/components/search/SearchUtils.jsm
+@@ -159,9 +159,9 @@ var SearchUtils = {
+
+ ENGINES_URLS: {
+ "prod-main":
+- "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/search-config/records",
++ "https://%.invalid",
+ "prod-preview":
+- "https://firefox.settings.services.mozilla.com/v1/buckets/main-preview/collections/search-config/records",
++ "https://%.invalid",
+ "stage-main":
+ "https://settings.stage.mozaws.net/v1/buckets/main/collections/search-config/records",
+ "stage-preview":
bgstack15