[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-115.3.0esr-13.0-1] fixup! Bug 2176: Rebrand Firefox to TorBrowser



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-115.3.0esr-13.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • ba5e4b14
    by Henry Wilkes at 2023-09-28T17:20:49+01:00
    fixup! Bug 2176: Rebrand Firefox to TorBrowser
    
    Bug 41910: Restore tor browser help link in about:preferences.
    

1 changed file:

Changes:

  • toolkit/content/widgets/moz-support-link/moz-support-link.mjs
    ... ... @@ -103,6 +103,19 @@ export default class MozSupportLink extends HTMLAnchorElement {
    103 103
     
    
    104 104
       #setHref() {
    
    105 105
         let supportPage = this.getAttribute("support-page") ?? "";
    
    106
    +    // For tor-browser we sometimes want to override firefox support links with
    
    107
    +    // our own.
    
    108
    +    // See tor-browser#40899.
    
    109
    +    switch (supportPage) {
    
    110
    +      case "preferences":
    
    111
    +        // Shown twice in preferences, both as `{ -brand-short-name } Support`.
    
    112
    +        // Instead of directing to support for preferences, we link to general
    
    113
    +        // tor browser support.
    
    114
    +        // See tor-browser#32092.
    
    115
    +        this.href = "https://support.torproject.org/tbb"
    
    116
    +        return;
    
    117
    +      // Fall through to support.mozilla.org
    
    118
    +    }
    
    106 119
         let base = MozSupportLink.SUPPORT_URL + supportPage;
    
    107 120
         this.href = this.hasAttribute("utm-content")
    
    108 121
           ? formatUTMParams(this.getAttribute("utm-content"), base)
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits