summaryrefslogtreecommitdiff
path: root/browser/base/content/report-phishing-overlay.xul
blob: 712079f824799d00381bf576997315aaab9e19a6 (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="&reportDeceptiveSiteMenu.title;"
              accesskey="&reportDeceptiveSiteMenu.accesskey;"
              insertbefore="aboutSeparator"
              observes="reportPhishingBroadcaster"
              oncommand="openUILink(gSafeBrowsing.getReportURL('Phish'), event);"
              onclick="checkForMiddleClick(this, event);"/>
    <menuitem id="menu_HelpPopup_reportPhishingErrortoolmenu"
              label="&safeb.palm.notdeceptive.label;"
              accesskey="&safeb.palm.notdeceptive.accesskey;"
              insertbefore="aboutSeparator"
              observes="reportPhishingErrorBroadcaster"
              oncommand="openUILinkIn(gSafeBrowsing.getReportURL('PhishMistake'), 'tab');"
              onclick="checkForMiddleClick(this, event);"/>
  </menupopup>
</overlay>