0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 21:53:31 -05:00
LibreWolf/patches/sed-patches/stop-undesired-requests2.patch

63 lines
3.1 KiB
Diff
Raw Normal View History

diff --git a/browser/components/newtab/data/content/activity-stream.bundle.js b/browser/components/newtab/data/content/activity-stream.bundle.js
index 6e7cc5e..8334a49 100644
--- a/browser/components/newtab/data/content/activity-stream.bundle.js
+++ b/browser/components/newtab/data/content/activity-stream.bundle.js
@@ -1819,7 +1819,7 @@ class ASRouterAdminInner extends react__WEBPACK_IMPORTED_MODULE_3___default.a.Pu
label = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("span", null, "remote settings (", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement("a", {
className: "providerUrl",
target: "_blank",
- href: "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-experiments/records",
+ href: "https://f.s.s.%.c.invalid/v1/buckets/main/collections/nimbus-desktop-experiments/records",
rel: "noopener noreferrer"
}, "nimbus-desktop-experiments"), ")");
}
@@ -15671,4 +15671,4 @@ TopSiteForm_TopSiteForm.defaultProps = {
};
/***/ })
-/******/ ]);
\ No newline at end of file
+/******/ ]);
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 651d38c..4b99610 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2198,7 +2198,7 @@ pref("security.insecure_field_warning.ignore_local_ip_address", true);
// Remote settings preferences
// Note: if you change this, make sure to also review security.onecrl.maximum_staleness_in_seconds
pref("services.settings.poll_interval", 86400); // 24H
-pref("services.settings.server", "https://firefox.settings.services.mozilla.com/v1");
+pref("services.settings.server", "https://https://f.s.s.%.c.invalid/v1");
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 f91e5dc..910261c 100644
--- a/services/settings/Utils.jsm
+++ b/services/settings/Utils.jsm
@@ -90,7 +90,7 @@ var Utils = {
get SERVER_URL() {
return allowServerURLOverride
? gServerURL
- : "https://firefox.settings.services.mozilla.com/v1";
+ : "https://f.s.s.%.c.invalid/v1";
},
CHANGES_PATH: "/buckets/monitor/collections/changes/changeset",
diff --git a/toolkit/components/search/SearchUtils.jsm b/toolkit/components/search/SearchUtils.jsm
index 41d2a23..448c92a 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://f.s.s.%.c.invalid/v1/buckets/main/collections/search-config/records",
"prod-preview":
- "https://firefox.settings.services.mozilla.com/v1/buckets/main-preview/collections/search-config/records",
+ "https://f.s.s.%.c.invalid/v1/buckets/main-preview/collections/search-config/records",
"stage-main":
"https://settings.stage.mozaws.net/v1/buckets/main/collections/search-config/records",
"stage-preview":