summaryrefslogtreecommitdiff
path: root/remap-links.patch
blob: c6a6a7dc86fd073ac258432ec415b03f602e35eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
--- a/browser/components/preferences/main.js
+++ b/browser/components/preferences/main.js
@@ -308,12 +308,19 @@
       "performanceSettingsLearnMore"
     );
     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"
     );
@@ -326,8 +333,7 @@
       "connectionSettingsLearnMore"
     );
     let connectionSettingsUrl =
-      Services.urlFormatter.formatURLPref("app.support.baseURL") +
-      "prefs-connection-settings";
+     "https://support.mozilla.org/en-US/kb/connection-settings-firefox"
     connectionSettingsLink.setAttribute("href", connectionSettingsUrl);
     this.updateProxySettingsUI();
     initializeProxyUI(gMainPane);
@@ -357,8 +363,7 @@
       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 +514,7 @@
     ) {
       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 +547,7 @@
 
     let drmInfoURL =
       Services.urlFormatter.formatURLPref("app.support.baseURL") +
-      "drm-content";
+      "how-do-i-enable-drm";
     document
       .getElementById("playDRMContentLink")
       .setAttribute("href", drmInfoURL);
@@ -870,7 +874,8 @@
 
     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