mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
defuzz remap-links
This commit is contained in:
parent
94365400be
commit
1ea04a4806
1 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
||||||
--- a/browser/components/preferences/main.js
|
--- a/browser/components/preferences/main.js
|
||||||
+++ b/browser/components/preferences/main.js
|
+++ b/browser/components/preferences/main.js
|
||||||
@@ -311,6 +311,14 @@
|
@@ -312,6 +312,14 @@ var gMainPane = {
|
||||||
"performance";
|
"performance";
|
||||||
performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
|
performanceSettingsLink.setAttribute("href", performanceSettingsUrl);
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
this.updateDefaultPerformanceSettingsPref();
|
this.updateDefaultPerformanceSettingsPref();
|
||||||
|
|
||||||
let defaultPerformancePref = Preferences.get(
|
let defaultPerformancePref = Preferences.get(
|
||||||
@@ -542,7 +550,7 @@
|
@@ -543,7 +551,7 @@ var gMainPane = {
|
||||||
|
|
||||||
let drmInfoURL =
|
let drmInfoURL =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
document
|
document
|
||||||
.getElementById("playDRMContentLink")
|
.getElementById("playDRMContentLink")
|
||||||
.setAttribute("href", drmInfoURL);
|
.setAttribute("href", drmInfoURL);
|
||||||
@@ -869,7 +877,8 @@
|
@@ -870,7 +878,8 @@ var gMainPane = {
|
||||||
|
|
||||||
const link = document.getElementById("browserContainersLearnMore");
|
const link = document.getElementById("browserContainersLearnMore");
|
||||||
link.href =
|
link.href =
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
this.readBrowserContainersCheckbox();
|
this.readBrowserContainersCheckbox();
|
||||||
--- a/browser/components/preferences/privacy.js
|
--- a/browser/components/preferences/privacy.js
|
||||||
+++ b/browser/components/preferences/privacy.js
|
+++ b/browser/components/preferences/privacy.js
|
||||||
@@ -282,7 +282,7 @@
|
@@ -283,7 +283,7 @@ function setUpContentBlockingWarnings()
|
||||||
let links = document.querySelectorAll(".contentBlockWarningLink");
|
let links = document.querySelectorAll(".contentBlockWarningLink");
|
||||||
let contentBlockingWarningUrl =
|
let contentBlockingWarningUrl =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
for (let link of links) {
|
for (let link of links) {
|
||||||
link.setAttribute("href", contentBlockingWarningUrl);
|
link.setAttribute("href", contentBlockingWarningUrl);
|
||||||
}
|
}
|
||||||
@@ -477,7 +477,7 @@
|
@@ -478,7 +478,7 @@ var gPrivacyPane = {
|
||||||
let link = document.getElementById("httpsOnlyLearnMore");
|
let link = document.getElementById("httpsOnlyLearnMore");
|
||||||
let httpsOnlyURL =
|
let httpsOnlyURL =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -54,7 +54,7 @@
|
||||||
link.setAttribute("href", httpsOnlyURL);
|
link.setAttribute("href", httpsOnlyURL);
|
||||||
|
|
||||||
// Set radio-value based on the pref value
|
// Set radio-value based on the pref value
|
||||||
@@ -643,7 +643,7 @@
|
@@ -644,7 +644,7 @@ var gPrivacyPane = {
|
||||||
);
|
);
|
||||||
const breachAlertsLearnMoreUrl =
|
const breachAlertsLearnMoreUrl =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
breachAlertsLearnMoreLink.setAttribute("href", breachAlertsLearnMoreUrl);
|
breachAlertsLearnMoreLink.setAttribute("href", breachAlertsLearnMoreUrl);
|
||||||
|
|
||||||
this._initSafeBrowsing();
|
this._initSafeBrowsing();
|
||||||
@@ -750,7 +750,7 @@
|
@@ -751,7 +751,7 @@ var gPrivacyPane = {
|
||||||
);
|
);
|
||||||
let url =
|
let url =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
document.getElementById("siteDataLearnMoreLink").setAttribute("href", url);
|
document.getElementById("siteDataLearnMoreLink").setAttribute("href", url);
|
||||||
|
|
||||||
let notificationInfoURL =
|
let notificationInfoURL =
|
||||||
@@ -923,7 +923,7 @@
|
@@ -924,7 +924,7 @@ var gPrivacyPane = {
|
||||||
let link = document.getElementById("contentBlockingLearnMore");
|
let link = document.getElementById("contentBlockingLearnMore");
|
||||||
let contentBlockingUrl =
|
let contentBlockingUrl =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
link.setAttribute("href", contentBlockingUrl);
|
link.setAttribute("href", contentBlockingUrl);
|
||||||
|
|
||||||
// Toggles the text "Cross-site and social media trackers" based on the
|
// Toggles the text "Cross-site and social media trackers" based on the
|
||||||
@@ -2268,7 +2268,7 @@
|
@@ -2276,7 +2276,7 @@ var gPrivacyPane = {
|
||||||
let learnMoreLink = document.getElementById("primaryPasswordLearnMoreLink");
|
let learnMoreLink = document.getElementById("primaryPasswordLearnMoreLink");
|
||||||
let learnMoreURL =
|
let learnMoreURL =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -90,7 +90,7 @@
|
||||||
learnMoreLink.setAttribute("href", learnMoreURL);
|
learnMoreLink.setAttribute("href", learnMoreURL);
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -2466,7 +2466,7 @@
|
@@ -2474,7 +2474,7 @@ var gPrivacyPane = {
|
||||||
let learnMoreLink = document.getElementById("enableSafeBrowsingLearnMore");
|
let learnMoreLink = document.getElementById("enableSafeBrowsingLearnMore");
|
||||||
let phishingUrl =
|
let phishingUrl =
|
||||||
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
Services.urlFormatter.formatURLPref("app.support.baseURL") +
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
enableSafeBrowsing.addEventListener("command", function() {
|
enableSafeBrowsing.addEventListener("command", function() {
|
||||||
--- a/toolkit/mozapps/extensions/content/aboutaddons.js
|
--- a/toolkit/mozapps/extensions/content/aboutaddons.js
|
||||||
+++ b/toolkit/mozapps/extensions/content/aboutaddons.js
|
+++ b/toolkit/mozapps/extensions/content/aboutaddons.js
|
||||||
@@ -1997,7 +1997,7 @@
|
@@ -1997,7 +1997,7 @@ class SidebarFooter extends HTMLElement
|
||||||
icon: "chrome://global/skin/icons/help.svg",
|
icon: "chrome://global/skin/icons/help.svg",
|
||||||
createLinkElement: () => {
|
createLinkElement: () => {
|
||||||
let link = document.createElement("a", { is: "support-link" });
|
let link = document.createElement("a", { is: "support-link" });
|
||||||
|
@ -109,4 +109,4 @@
|
||||||
+ link.setAttribute("support-page", "do-you-recommend-using-any-extensions");
|
+ link.setAttribute("support-page", "do-you-recommend-using-any-extensions");
|
||||||
link.id = "help-button";
|
link.id = "help-button";
|
||||||
return link;
|
return link;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue