Pier Angelo Vendrame pushed to branch mullvad-browser-115.3.1esr-13.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
-
caf1a83b
by Pier Angelo Vendrame at 2023-10-05T22:10:10+02:00
1 changed file:
Changes:
... | ... | @@ -103,6 +103,12 @@ export default class MozSupportLink extends HTMLAnchorElement { |
103 | 103 | |
104 | 104 | #setHref() {
|
105 | 105 | let supportPage = this.getAttribute("support-page") ?? "";
|
106 | + // Customize the link in about:preferences.
|
|
107 | + // See mullvad-browser#244 and tor-browser#41910.
|
|
108 | + if (supportPage === "preferences") {
|
|
109 | + this.href = "https://mullvad.net/en/help/";
|
|
110 | + return;
|
|
111 | + }
|
|
106 | 112 | let base = MozSupportLink.SUPPORT_URL + supportPage;
|
107 | 113 | this.href = this.hasAttribute("utm-content")
|
108 | 114 | ? formatUTMParams(this.getAttribute("utm-content"), base)
|