summaryrefslogtreecommitdiffstats
path: root/application/palemoon/base/content/report-phishing-overlay.xul
blob: 76baf01da3b0fc1b65b7e37da01a3a6f5edc9e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE overlay [
<!ENTITY % reportphishDTD SYSTEM "chrome://browser/locale/safebrowsing/report-phishing.dtd">
%reportphishDTD;
<!ENTITY % safebrowsingDTD SYSTEM "chrome://browser/locale/safebrowsing/phishing-afterload-warning-message.dtd">
%safebrowsingDTD;
]>

<overlay id="reportPhishingMenuOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <broadcasterset id="mainBroadcasterSet">
    <broadcaster id="reportPhishingBroadcaster" disabled="true"/>
    <broadcaster id="reportPhishingErrorBroadcaster" disabled="true"/>
  </broadcasterset>
  <menupopup id="menu_HelpPopup">
    <menuitem id="menu_HelpPopup_reportPhishingtoolmenu"
              label="&reportPhishSiteMenu.title2;"
              accesskey="&reportPhishSiteMenu.accesskey;"
              insertbefore="aboutSeparator"
              observes="reportPhishingBroadcaster"
              oncommand="openUILink(gSafeBrowsing.getReportURL('Phish'), event);"
              onclick="checkForMiddleClick(this, event);"/>
    <menuitem id="menu_HelpPopup_reportPhishingErrortoolmenu"
              label="&safeb.palm.notforgery.label2;"
              accesskey="&reportPhishSiteMenu.accesskey;"
              insertbefore="aboutSeparator"
              observes="reportPhishingErrorBroadcaster"
              oncommand="openUILinkIn(gSafeBrowsing.getReportURL('Error'), 'tab');"
              onclick="checkForMiddleClick(this, event);"/>
  </menupopup>
</overlay>