[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-102.7.0esr-12.5-1] 5 commits: dropme! Bug 10760: Integrate TorButton to TorBrowser core
Pier Angelo Vendrame (@pierov)
git at gitlab.torproject.org
Thu Feb 2 14:21:22 UTC 2023
Pier Angelo Vendrame pushed to branch tor-browser-102.7.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
153c0294 by Pier Angelo Vendrame at 2023-02-02T10:18:40+01:00
dropme! Bug 10760: Integrate TorButton to TorBrowser core
Remove implementation of 18905 from Torbutton
- - - - -
816d9867 by Arthur Edelstein at 2023-02-02T10:27:54+01:00
Bug 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
- - - - -
28ab7be0 by Pier Angelo Vendrame at 2023-02-02T10:28:18+01:00
fixup! Bug 10760: Integrate TorButton to TorBrowser core
Bring back the new circuit entries.
- - - - -
aaa2f0dc by Pier Angelo Vendrame at 2023-02-02T10:28:19+01:00
fixup! Bug 11698: Incorporate Tor Browser Manual pages into Tor Browser
Move the manual menu entry to the manual commit
- - - - -
39eb835a by Pier Angelo Vendrame at 2023-02-02T11:44:32+01:00
fixup! Bug 18905: Hide unwanted items from help menu
- - - - -
2 changed files:
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-safebrowsing.js
Changes:
=====================================
browser/base/content/browser-menubar.inc
=====================================
@@ -461,17 +461,11 @@
<menupopup id="menu_HelpPopup" onpopupshowing="buildHelpMenu();">
<!-- Note: Items under here are cloned to the AppMenu Help submenu. The cloned items
have their strings defined by appmenu-data-l10n-id. -->
- <!-- dummy elements to avoid 'getElementById' errors -->
- <box id="feedbackPage"/>
- <box id="helpSafeMode"/>
- <box id="menu_HelpPopup_reportPhishingtoolmenu"/>
- <box id="menu_HelpPopup_reportPhishingErrortoolmenu"/>
<!-- Add Tor Browser manual link -->
<menuitem id="torBrowserUserManual"
oncommand="gBrowser.selectedTab = gBrowser.addTab('about:manual', {triggeringPrincipal: Services.scriptSecurityManager.getSystemPrincipal()});"
label="&aboutTor.torbrowser_user_manual.label;"
accesskey="&aboutTor.torbrowser_user_manual.accesskey;"/>
- <!-- Bug 18905: Hide unused help menu items -->
<menuitem id="menu_openHelp"
oncommand="openHelpLink('firefox-help')"
hidden="true"
@@ -485,8 +479,8 @@
<menuitem id="feedbackPage"
oncommand="openFeedbackPage()"
hidden="true"
- data-l10n-id="menu-help-feedback-page"
- appmenu-data-l10n-id="appmenu-help-feedback-page"/>
+ data-l10n-id="menu-help-share-ideas"
+ appmenu-data-l10n-id="appmenu-help-share-ideas"/>
<menuitem id="helpSafeMode"
oncommand="safeModeRestart();"
hidden="true"
=====================================
browser/base/content/browser-safebrowsing.js
=====================================
@@ -7,6 +7,13 @@
var gSafeBrowsing = {
setReportPhishingMenu() {
+ // tor-browser#18905: hide these menu entries
+ if (
+ !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true)
+ ) {
+ return;
+ }
+
// In order to detect whether or not we're at the phishing warning
// page, we have to check the documentURI instead of the currentURI.
// This is because when the DocShell loads an error page, the
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5ac078b72c3d20811fcbdfe6cf447d9e66fe0a26...39eb835a7004531bee17c29c73374c2e252ed8e9
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/5ac078b72c3d20811fcbdfe6cf447d9e66fe0a26...39eb835a7004531bee17c29c73374c2e252ed8e9
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20230202/d7e56c68/attachment-0001.htm>
More information about the tbb-commits
mailing list