morgan pushed to branch base-browser-128.8.0esr-14.5-1 at The Tor Project / 
Applications / Tor Browser


Commits:
e0147508 by Pier Angelo Vendrame at 2025-03-20T13:22:29+00:00
fixup! BB 18905: Hide unwanted items from help menu

BB 41755: Show the link to about:support in the help menu.

- - - - -


2 changed files:

- browser/base/content/browser-menubar.inc
- toolkit/content/aboutSupport.js


Changes:

=====================================
browser/base/content/browser-menubar.inc
=====================================
@@ -481,7 +481,6 @@
                           
appmenu-data-l10n-id="appmenu-help-enter-troubleshoot-mode2"/>
                 <menuitem id="troubleShooting"
                           oncommand="openTroubleshootingPage()"
-                          hidden="true"
                           data-l10n-id="menu-help-more-troubleshooting-info"
                           
appmenu-data-l10n-id="appmenu-help-more-troubleshooting-info"/>
                 <menuitem id="help_reportSiteIssue"


=====================================
toolkit/content/aboutSupport.js
=====================================
@@ -1931,13 +1931,14 @@ function populateActionBox() {
   if (ResetProfile.resetSupported()) {
     $("reset-box").style.display = "block";
   }
-  if (!Services.appinfo.inSafeMode && AppConstants.platform !== "android") {
+  // tor-browser#41755: Do not show safe mode, as it would disable NoScript.
+  /*if (!Services.appinfo.inSafeMode && AppConstants.platform !== "android") {
     $("safe-mode-box").style.display = "block";
 
     if (Services.policies && !Services.policies.isAllowed("safeMode")) {
       $("restart-in-safe-mode-button").setAttribute("disabled", "true");
     }
-  }
+  }*/
 }
 
 // Prompt user to restart the browser in safe mode



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e014750832053402e285887c3fea49df35429c66

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/e014750832053402e285887c3fea49df35429c66
You're receiving this email because of your account on gitlab.torproject.org.


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to