summaryrefslogtreecommitdiff
path: root/remap-links.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-15 16:57:02 -0400
committerB. Stack <bgstack15@gmail.com>2022-04-15 16:57:02 -0400
commit9c00f7050567825bc089bec6991629fb49830394 (patch)
treec13d4e5ed3c52e8100cd9365309641554a721242 /remap-links.patch
parentMerge branch 'b98.0-3-npgo' into 'b98.0-3' (diff)
downloadlibrewolf-fedora-ff-9c00f7050567825bc089bec6991629fb49830394.tar.gz
librewolf-fedora-ff-9c00f7050567825bc089bec6991629fb49830394.tar.bz2
librewolf-fedora-ff-9c00f7050567825bc089bec6991629fb49830394.zip
librewolf for fedora 99.0.1-1 rc1
Diffstat (limited to 'remap-links.patch')
-rw-r--r--remap-links.patch145
1 files changed, 145 insertions, 0 deletions
diff --git a/remap-links.patch b/remap-links.patch
new file mode 100644
index 0000000..dbc7cc1
--- /dev/null
+++ b/remap-links.patch
@@ -0,0 +1,145 @@
+--- a/browser/components/preferences/main.js
++++ b/browser/components/preferences/main.js
+@@ -309,11 +309,19 @@ var gMainPane = {
+ );
+ let performanceSettingsUrl =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "performance";
++ "https://support.mozilla.org/en-US/kb/performance-settings";
+ performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
+
+ this.updateDefaultPerformanceSettingsPref();
+
++ let sessionRestoreLink = document.getElementById(
++ "sessionRestoreLearnMore"
++ );
++ let sessionRestoreUrl =
++ Services.urlFormatter.formatURLPref("app.support.baseURL") +
++ "why-is-session-restore-not-working";
++ sessionRestoreLink.setAttribute("href", sessionRestoreUrl);
++
+ let defaultPerformancePref = Preferences.get(
+ "browser.preferences.defaultPerformanceSettings.enabled"
+ );
+@@ -357,8 +365,7 @@ var gMainPane = {
+ document.getElementById("pictureInPictureBox").hidden = false;
+
+ let pipLearnMoreUrl =
+- Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "picture-in-picture";
++ "https://support.mozilla.org/en-US/kb/turn-picture-picture-mode";
+ let link = document.getElementById("pictureInPictureLearnMore");
+ link.setAttribute("href", pipLearnMoreUrl);
+ }
+@@ -509,8 +516,7 @@ var gMainPane = {
+ ) {
+ document.getElementById("mediaControlBox").hidden = false;
+ let mediaControlLearnMoreUrl =
+- Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "media-keyboard-control";
++ "https://support.mozilla.org/en-US/kb/control-audio-or-video-playback-your-keyboard";
+ let link = document.getElementById("mediaControlLearnMore");
+ link.setAttribute("href", mediaControlLearnMoreUrl);
+ }
+@@ -543,7 +549,7 @@ var gMainPane = {
+
+ let drmInfoURL =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "drm-content";
++ "how-do-i-enable-drm";
+ document
+ .getElementById("playDRMContentLink")
+ .setAttribute("href", drmInfoURL);
+@@ -870,7 +876,8 @@ var gMainPane = {
+
+ const link = document.getElementById("browserContainersLearnMore");
+ link.href =
+- Services.urlFormatter.formatURLPref("app.support.baseURL") + "containers";
++ Services.urlFormatter.formatURLPref("app.support.baseURL") +
++ "why-isnt-first-party-isolate-enabled-by-default";
+
+ document.getElementById("browserContainersbox").hidden = false;
+ this.readBrowserContainersCheckbox();
+
+--- a/browser/components/preferences/privacy.js
++++ b/browser/components/preferences/privacy.js
+@@ -283,7 +283,7 @@ function setUpContentBlockingWarnings() {
+ let links = document.querySelectorAll(".contentBlockWarningLink");
+ let contentBlockingWarningUrl =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "turn-off-etp-desktop";
++ "what-is-mozilla-tracking-protection";
+ for (let link of links) {
+ link.setAttribute("href", contentBlockingWarningUrl);
+ }
+@@ -478,7 +478,7 @@ var gPrivacyPane = {
+ let link = document.getElementById("httpsOnlyLearnMore");
+ let httpsOnlyURL =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "https-only-prefs";
++ "does-librewolf-use-https-only-mode";
+ link.setAttribute("href", httpsOnlyURL);
+
+ // Set radio-value based on the pref value
+@@ -644,7 +644,7 @@ var gPrivacyPane = {
+ );
+ const breachAlertsLearnMoreUrl =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "lockwise-alerts";
++ "why-is-the-built-in-password-manager-disabled";
+ breachAlertsLearnMoreLink.setAttribute("href", breachAlertsLearnMoreUrl);
+
+ this._initSafeBrowsing();
+@@ -751,11 +751,12 @@ var gPrivacyPane = {
+ );
+ let url =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "storage-permissions";
++ "how-do-i-stay-logged-into-specific-websites";
+ document.getElementById("siteDataLearnMoreLink").setAttribute("href", url);
+
+ let notificationInfoURL =
+- Services.urlFormatter.formatURLPref("app.support.baseURL") + "push";
++ Services.urlFormatter.formatURLPref("app.support.baseURL") +
++ "how-do-i-enable-push-notifications";
+ document
+ .getElementById("notificationPermissionsLearnMore")
+ .setAttribute("href", notificationInfoURL);
+@@ -924,7 +925,7 @@ var gPrivacyPane = {
+ let link = document.getElementById("contentBlockingLearnMore");
+ let contentBlockingUrl =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "enhanced-tracking-protection";
++ "what-is-mozilla-tracking-protection";
+ link.setAttribute("href", contentBlockingUrl);
+
+ // Toggles the text "Cross-site and social media trackers" based on the
+@@ -2276,7 +2277,7 @@ var gPrivacyPane = {
+ let learnMoreLink = document.getElementById("primaryPasswordLearnMoreLink");
+ let learnMoreURL =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "primary-password-stored-logins";
++ "why-is-the-built-in-password-manager-disabled";
+ learnMoreLink.setAttribute("href", learnMoreURL);
+ },
+
+@@ -2474,7 +2475,7 @@ var gPrivacyPane = {
+ let learnMoreLink = document.getElementById("enableSafeBrowsingLearnMore");
+ let phishingUrl =
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
+- "phishing-malware";
++ "why-do-you-disable-google-safe-browsing";
+ learnMoreLink.setAttribute("href", phishingUrl);
+
+ enableSafeBrowsing.addEventListener("command", function() {
+--- a/toolkit/mozapps/extensions/content/aboutaddons.js
++++ b/toolkit/mozapps/extensions/content/aboutaddons.js
+@@ -1997,7 +1997,7 @@ class SidebarFooter extends HTMLElement
+ icon: "chrome://global/skin/icons/help.svg",
+ createLinkElement: () => {
+ let link = document.createElement("a", { is: "support-link" });
+- link.setAttribute("support-page", "addons-help");
++ link.setAttribute("support-page", "do-you-recommend-using-any-extensions");
+ link.id = "help-button";
+ return link;
+ },
bgstack15