menu-overlay.xul 1.43 KB
Newer Older
1
2
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- Mode: HTML -*- -->

3
<!DOCTYPE overlay SYSTEM "chrome://torbutton/locale/aboutTor.dtd">
4

5
6
7
<overlay id="torbutton-menu-overlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <menupopup id="menu_HelpPopup">
8
    <!-- Bug 18905: Hide unused help menu items -->
9
10
11
12
13
14
15
16
    <menuitem id="menu_openHelp" removeelement="true"/>
    <menuitem id="menu_openTour" removeelement="true"/>
    <menuitem id="healthReport" removeelement="true"/>
    <menuitem id="feedbackPage" removeelement="true"/>
    <menuitem id="helpSafeMode" removeelement="true"/>
    <menuitem id="menu_HelpPopup_reportPhishingtoolmenu" removeelement="true"/>
    <menuitem id="menu_HelpPopup_reportPhishingErrortoolmenu" removeelement="true"/>
    <!-- dummy elements to avoid 'getElementById' errors -->
17
18
    <box id="feedbackPage"/>
    <box id="helpSafeMode"/>
19
20
    <box id="menu_HelpPopup_reportPhishingtoolmenu"/>
    <box id="menu_HelpPopup_reportPhishingErrortoolmenu"/>
21
22
23
24
    <!-- Add Tor Browser manual link -->
    <menuitem name="torBrowserUserManual"
              id="torBrowserUserManual"
              position="1"
25
26
              label="&aboutTor.torbrowser_user_manual.label;"
              accesskey="&aboutTor.torbrowser_user_manual.accesskey;"
27
              oncommand="gBrowser.selectedTab = gBrowser.addTab('https://tb-manual.torproject.org/' + Services.locale.getRequestedLocale())" />
28
29
  </menupopup>
</overlay>