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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-102.8.0esr-12.0-1] 4 commits: dropme! Bug 10760: Integrate TorButton to TorBrowser core



Title: GitLab

Richard Pospesel pushed to branch tor-browser-102.8.0esr-12.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • 36693159
    by Pier Angelo Vendrame at 2023-03-03T10:05:00+01:00
    dropme! Bug 10760: Integrate TorButton to TorBrowser core
    
    Remove implementation of 18905 from Torbutton
    
  • 5ff98c20
    by Arthur Edelstein at 2023-03-03T10:05:33+01:00
    Bug 18905: Hide unwanted items from help menu
    
    Bug 25660: Remove the "New Private Window" option
    
  • 777cb20b
    by Pier Angelo Vendrame at 2023-03-03T10:05:40+01:00
    fixup! Bug 10760: Integrate TorButton to TorBrowser core
    
    Bring back the new circuit entries.
    
  • 7de98cbe
    by Pier Angelo Vendrame at 2023-03-03T10:05:47+01:00
    fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
    
    Move the manual menu entry to the manual commit
    

2 changed files:

Changes:

  • browser/base/content/browser-menubar.inc
    ... ... @@ -461,17 +461,11 @@
    461 461
                   <menupopup id="menu_HelpPopup" onpopupshowing="buildHelpMenu();">
    
    462 462
     <!-- Note: Items under here are cloned to the AppMenu Help submenu. The cloned items
    
    463 463
          have their strings defined by appmenu-data-l10n-id. -->
    
    464
    -                <!-- dummy elements to avoid 'getElementById' errors -->
    
    465
    -                <box id="feedbackPage"/>
    
    466
    -                <box id="helpSafeMode"/>
    
    467
    -                <box id="menu_HelpPopup_reportPhishingtoolmenu"/>
    
    468
    -                <box id="menu_HelpPopup_reportPhishingErrortoolmenu"/>
    
    469 464
                     <!-- Add Tor Browser manual link -->
    
    470 465
                     <menuitem id="torBrowserUserManual"
    
    471 466
                               oncommand="gBrowser.selectedTab = gBrowser.addTab('about:manual', {triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal()});"
    
    472 467
                               label="&aboutTor.torbrowser_user_manual.label;"
    
    473 468
                               accesskey="&aboutTor.torbrowser_user_manual.accesskey;"/>
    
    474
    -                <!-- Bug 18905: Hide unused help menu items -->
    
    475 469
                     <menuitem id="menu_openHelp"
    
    476 470
                               oncommand="openHelpLink('firefox-help')"
    
    477 471
                               hidden="true"
    
    ... ... @@ -485,8 +479,8 @@
    485 479
                     <menuitem id="feedbackPage"
    
    486 480
                               oncommand="openFeedbackPage()"
    
    487 481
                               hidden="true"
    
    488
    -                          data-l10n-id="menu-help-feedback-page"
    
    489
    -                          appmenu-data-l10n-id="appmenu-help-feedback-page"/>
    
    482
    +                          data-l10n-id="menu-help-share-ideas"
    
    483
    +                          appmenu-data-l10n-id="appmenu-help-share-ideas"/>
    
    490 484
                     <menuitem id="helpSafeMode"
    
    491 485
                               oncommand="safeModeRestart();"
    
    492 486
                               hidden="true"
    

  • browser/base/content/browser-safebrowsing.js
    ... ... @@ -7,6 +7,13 @@
    7 7
     
    
    8 8
     var gSafeBrowsing = {
    
    9 9
       setReportPhishingMenu() {
    
    10
    +    // tor-browser#18905: hide these menu entries
    
    11
    +    if (
    
    12
    +      !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true)
    
    13
    +    ) {
    
    14
    +      return;
    
    15
    +    }
    
    16
    +
    
    10 17
         // In order to detect whether or not we're at the phishing warning
    
    11 18
         // page, we have to check the documentURI instead of the currentURI.
    
    12 19
         // This is because when the DocShell loads an error page, the
    

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