2022-03-21 15:38:36 -05:00
|
|
|
--- a/browser/components/preferences/main.js
|
|
|
|
+++ b/browser/components/preferences/main.js
|
2022-05-02 09:40:29 -05:00
|
|
|
@@ -308,12 +308,19 @@
|
|
|
|
"performanceSettingsLearnMore"
|
2022-04-13 09:35:23 -05:00
|
|
|
);
|
|
|
|
let performanceSettingsUrl =
|
2022-05-02 09:40:29 -05:00
|
|
|
- Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
2022-04-13 09:35:23 -05:00
|
|
|
- "performance";
|
|
|
|
+ "https://support.mozilla.org/en-US/kb/performance-settings";
|
2022-03-21 15:38:36 -05:00
|
|
|
performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
|
|
|
|
|
2022-04-13 09:35:23 -05:00
|
|
|
this.updateDefaultPerformanceSettingsPref();
|
|
|
|
|
2022-03-21 15:38:36 -05:00
|
|
|
+ let sessionRestoreLink = document.getElementById(
|
|
|
|
+ "sessionRestoreLearnMore"
|
|
|
|
+ );
|
|
|
|
+ let sessionRestoreUrl =
|
|
|
|
+ Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
|
|
|
+ "why-is-session-restore-not-working";
|
2022-04-13 09:35:23 -05:00
|
|
|
+ sessionRestoreLink.setAttribute("href", sessionRestoreUrl);
|
2022-03-21 15:38:36 -05:00
|
|
|
+
|
|
|
|
let defaultPerformancePref = Preferences.get(
|
2022-04-13 09:35:23 -05:00
|
|
|
"browser.preferences.defaultPerformanceSettings.enabled"
|
|
|
|
);
|
2022-05-02 09:40:29 -05:00
|
|
|
@@ -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 @@
|
2022-04-13 09:35:23 -05:00
|
|
|
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);
|
|
|
|
}
|
2022-05-02 09:40:29 -05:00
|
|
|
@@ -509,8 +514,7 @@
|
2022-04-13 09:35:23 -05:00
|
|
|
) {
|
|
|
|
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);
|
|
|
|
}
|
2022-05-02 09:40:29 -05:00
|
|
|
@@ -543,7 +547,7 @@
|
2022-03-21 15:38:36 -05:00
|
|
|
|
|
|
|
let drmInfoURL =
|
|
|
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
|
|
|
- "drm-content";
|
|
|
|
+ "how-do-i-enable-drm";
|
|
|
|
document
|
|
|
|
.getElementById("playDRMContentLink")
|
|
|
|
.setAttribute("href", drmInfoURL);
|
2022-05-02 09:40:29 -05:00
|
|
|
@@ -870,7 +874,8 @@
|
2022-03-21 15:38:36 -05:00
|
|
|
|
|
|
|
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();
|
2022-04-13 09:35:23 -05:00
|
|
|
|
2022-03-21 15:38:36 -05:00
|
|
|
--- a/browser/components/preferences/privacy.js
|
|
|
|
+++ b/browser/components/preferences/privacy.js
|
2022-04-13 09:35:23 -05:00
|
|
|
@@ -283,7 +283,7 @@ function setUpContentBlockingWarnings() {
|
2022-03-21 15:38:36 -05:00
|
|
|
let links = document.querySelectorAll(".contentBlockWarningLink");
|
|
|
|
let contentBlockingWarningUrl =
|
|
|
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
|
|
|
- "turn-off-etp-desktop";
|
2022-10-19 17:03:55 -05:00
|
|
|
+ "what-is-enhanced-tracking-protection";
|
2022-03-21 15:38:36 -05:00
|
|
|
for (let link of links) {
|
|
|
|
link.setAttribute("href", contentBlockingWarningUrl);
|
|
|
|
}
|
2022-04-09 11:17:09 -05:00
|
|
|
@@ -478,7 +478,7 @@ var gPrivacyPane = {
|
2022-03-21 15:38:36 -05:00
|
|
|
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
|
2022-04-09 11:17:09 -05:00
|
|
|
@@ -644,7 +644,7 @@ var gPrivacyPane = {
|
2022-03-21 15:38:36 -05:00
|
|
|
);
|
|
|
|
const breachAlertsLearnMoreUrl =
|
|
|
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
|
|
|
- "lockwise-alerts";
|
|
|
|
+ "why-is-the-built-in-password-manager-disabled";
|
|
|
|
breachAlertsLearnMoreLink.setAttribute("href", breachAlertsLearnMoreUrl);
|
|
|
|
|
|
|
|
this._initSafeBrowsing();
|
2022-04-13 09:35:23 -05:00
|
|
|
@@ -751,11 +751,12 @@ var gPrivacyPane = {
|
2022-03-21 15:38:36 -05:00
|
|
|
);
|
|
|
|
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 =
|
2022-04-13 09:35:23 -05:00
|
|
|
- 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 = {
|
2022-03-21 15:38:36 -05:00
|
|
|
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
|
2022-04-13 09:35:23 -05:00
|
|
|
@@ -2276,7 +2277,7 @@ var gPrivacyPane = {
|
2022-03-21 15:38:36 -05:00
|
|
|
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);
|
|
|
|
},
|
|
|
|
|
2022-04-13 09:35:23 -05:00
|
|
|
@@ -2474,7 +2475,7 @@ var gPrivacyPane = {
|
2022-03-21 15:38:36 -05:00
|
|
|
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
|
2022-04-09 11:17:09 -05:00
|
|
|
@@ -1997,7 +1997,7 @@ class SidebarFooter extends HTMLElement
|
2022-03-21 15:38:36 -05:00
|
|
|
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;
|
2022-04-09 11:17:09 -05:00
|
|
|
},
|