0
Fork 0
mirror of https://codeberg.org/librewolf/source.git synced 2024-12-22 13:43:04 -05:00
LibreWolf/patches/sed-patches/stop-undesired-requests.patch

46 lines
2.2 KiB
Diff
Raw Permalink Normal View History

2024-01-23 14:24:20 -05:00
--- a/browser/components/asrouter/content/asrouter-admin.bundle.js
+++ b/browser/components/asrouter/content/asrouter-admin.bundle.js
2024-08-01 15:13:40 -05:00
@@ -1650,7 +1650,7 @@ class ASRouterAdminInner extends (react__WEBPACK_IMPORTED_MODULE_1___default().P
2024-01-23 14:24:20 -05:00
label = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("span", null, "remote settings (", /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("a", {
className: "providerUrl",
target: "_blank",
- href: "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/nimbus-desktop-experiments/records",
2022-06-29 14:12:03 -05:00
+ href: "https://see.ticket.about.this.invalid",
rel: "noopener noreferrer"
}, "nimbus-desktop-experiments"), ")");
}
2023-06-09 05:44:03 -05:00
--- a/services/settings/Utils.sys.mjs
+++ b/services/settings/Utils.sys.mjs
2023-08-29 11:57:43 -05:00
@@ -51,6 +51,9 @@ ChromeUtils.defineLazyGetter(lazy, "isRunningTests", () => {
2022-06-29 14:12:03 -05:00
// Overriding the server URL is normally disabled on Beta and Release channels,
// except under some conditions.
2023-08-29 11:57:43 -05:00
ChromeUtils.defineLazyGetter(lazy, "allowServerURLOverride", () => {
+
+ return true; // always override in LW
2022-06-29 14:12:03 -05:00
+
if (!AppConstants.RELEASE_OR_BETA) {
// Always allow to override the server URL on Nightly/DevEdition.
return true;
2024-08-01 15:13:40 -05:00
@@ -134,6 +137,7 @@ export var Utils = {
// Load dumps only if pulling data from the production server, or in tests.
return (
this.SERVER_URL == AppConstants.REMOTE_SETTINGS_SERVER_URL ||
+ this.SERVER_URL == "https://%.invalid" ||
lazy.isRunningTests
);
},
2022-08-26 06:29:43 -05:00
--- a/toolkit/components/search/SearchUtils.sys.mjs
+++ b/toolkit/components/search/SearchUtils.sys.mjs
2024-08-01 15:13:40 -05:00
@@ -206,9 +206,9 @@ export var SearchUtils = {
ENGINES_URLS: {
"prod-main":
- "https://firefox.settings.services.mozilla.com/v1/buckets/main/collections/search-config/records",
2022-06-30 18:11:25 -05:00
+ "https://%.invalid",
"prod-preview":
- "https://firefox.settings.services.mozilla.com/v1/buckets/main-preview/collections/search-config/records",
2022-06-30 18:11:25 -05:00
+ "https://%.invalid",
"stage-main":
2024-01-23 14:24:20 -05:00
"https://firefox.settings.services.allizom.org/v1/buckets/main/collections/search-config/records",
"stage-preview":