Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
5c86cf16
Verified
Commit
5c86cf16
authored
Apr 26, 2016
by
Arthur Edelstein
Committed by
Pier Angelo Vendrame
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Bug 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
parent
add86a12
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
browser/base/content/browser-menubar.inc
+5
-0
5 additions, 0 deletions
browser/base/content/browser-menubar.inc
browser/base/content/browser-safebrowsing.js
+7
-0
7 additions, 0 deletions
browser/base/content/browser-safebrowsing.js
with
12 additions
and
0 deletions
browser/base/content/browser-menubar.inc
+
5
−
0
View file @
5c86cf16
...
...
@@ -452,6 +452,7 @@
have
their
strings
defined
by
appmenu
-
data
-
l10n
-
id
.
-->
<
menuitem
id
=
"menu_openHelp"
oncommand
=
"openHelpLink('firefox-help')"
hidden
=
"true"
data
-
l10n
-
id
=
"menu-get-help"
appmenu
-
data
-
l10n
-
id
=
"appmenu-get-help"
#ifdef XP_MACOSX
...
...
@@ -466,14 +467,17 @@
appmenu
-
data
-
l10n
-
id
=
"menu-report-broken-site"
/>
<
menuitem
id
=
"feedbackPage"
oncommand
=
"openFeedbackPage()"
hidden
=
"true"
data
-
l10n
-
id
=
"menu-help-share-ideas"
appmenu
-
data
-
l10n
-
id
=
"appmenu-help-share-ideas"
/>
<
menuitem
id
=
"helpSafeMode"
oncommand
=
"safeModeRestart();"
hidden
=
"true"
data
-
l10n
-
id
=
"menu-help-enter-troubleshoot-mode2"
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"
...
...
@@ -495,6 +499,7 @@
hidden
=
"true"
/>
<
menuitem
id
=
"helpSwitchDevice"
oncommand
=
"openSwitchingDevicesPage();"
hidden
=
"true"
data
-
l10n
-
id
=
"menu-help-switch-device"
appmenu
-
data
-
l10n
-
id
=
"appmenu-help-switch-device"
/>
<
menuseparator
id
=
"aboutSeparator"
/>
...
...
This diff is collapsed.
Click to expand it.
browser/base/content/browser-safebrowsing.js
+
7
−
0
View file @
5c86cf16
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment