Pier Angelo Vendrame pushed to branch mullvad-browser-115.3.1esr-13.0-1 at The Tor Project / Applications / Mullvad Browser

Commits:

1 changed file:

Changes:

  • toolkit/content/widgets/moz-support-link/moz-support-link.mjs
    ... ... @@ -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)