home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 80
/
MINAMI80.iso
/
Extra
/
DivXInstaller.exe
/
$PLUGINSDIR
/
GoogleToolbarFirefox.msi
/
xpi
/
chrome
/
tb-amulet-of-protection
/
content
/
protection-overlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2006-05-15
|
8KB
|
206 lines
<?xml version="1.0"?>
<!-- This css and dtd are for the phishing warning message -->
<?xml-stylesheet href="phishing-afterload-warning-message.css"
type="text/css" ?>
<!DOCTYPE
window SYSTEM "chrome://google-toolbar/locale/google-toolbar.dtd">
<overlay id="amulet-of-protection-overlay"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- These commands are for the phishing afterload warning message -->
<commandset>
<command id="amulet-show-warning"
oncommand="PROTTB_executeCommandLocally('amulet-show-warning')" />
<command id="amulet-accept-warning"
oncommand="PROTTB_executeCommandLocally('amulet-accept-warning')" />
<command id="amulet-decline-warning"
oncommand="PROTTB_executeCommandLocally('amulet-decline-warning')" />
<command id="amulet-palm-showmore"
oncommand="PROTTB_executeCommandLocally('amulet-palm-showmore')" />
<command id="amulet-palm-phishingorg"
oncommand="PROTTB_executeCommandLocally('amulet-palm-phishingorg')" />
<command id="amulet-palm-phishingfaq"
oncommand="PROTTB_executeCommandLocally('amulet-palm-phishingfaq')" />
<command id="amulet-palm-fraudpage"
oncommand="PROTTB_executeCommandLocally('amulet-palm-fraudpage')" />
<command id="amulet-palm-falsepositive"
oncommand="PROTTB_executeCommandLocally('amulet-palm-falsepositive')" />
<command id="amulet-submit-blacklist"
oncommand="PROTTB_executeCommandLocally('amulet-submit-blacklist')" />
<command id="amulet-submit-generic-phishing"
oncommand="PROTTB_executeCommandLocally('amulet-submit-generic-phishing')"
/>
<command id="amulet-test-link"
oncommand="PROTTB_executeCommandLocally('amulet-test-link')" />
</commandset>
<window id="main-window">
<!-- This is our icon for the urlbar. We move it at startup into the
urlbar because we can't overlay it properly (its parent has no
id in pre-2.0). -->
<image src="chrome://tb-amulet-of-protection/content/warning16x16.png"
id="amulet-urlbar-icon" tooltiptext="&amulet.urlbaricon.tooltip;"
onclick="goDoCommand('amulet-show-warning')" />
<!-- This dims out the browser content -->
<vbox id="amulet-dim-area-transp" hidden="true">
<spacer flex="1" />
</vbox>
<!-- This is the spike on top of the warning -->
<hbox id="amulet-palm-message-tail-container" hidden="true" pack="end">
<image id="amulet-palm-message-tail"
src="chrome://tb-amulet-of-protection/content/tail.png" />
</hbox>
<!-- This is the phishing afterload warning message -->
<vbox id="amulet-palm-message" hidden="true" pack="center"
class="amulet-palm-fixed-width">
<!-- This is the main warning area -->
<vbox id="amulet-palm-message-content"
class="amulet-palm-fixed-width amulet-palm-message-bubble">
<!-- Top line -->
<hbox id="amulet-palm-message-titlebox"
class="amulet-palm-fixed-width">
<image
src="chrome://tb-amulet-of-protection/content/warning24x24.png"
id="amulet-palm-title-icon" />
<description id="amulet-palm-message-title"
class="amulet-palm-title"
value="&amulet.palm.warning.heading;" />
<spacer flex="1" />
<vbox pack="start" align="start">
<box onclick="goDoCommand('amulet-decline-warning')"><image
src="chrome://tb-amulet-of-protection/content/close16x16.png"
id="amulet-palm-close" /></box>
<spacer flex="1" />
</vbox>
</hbox>
<!-- Content area: short warning -->
<description id="amulet-palm-content" class="amulet-paragraph">
&amulet.palm.message.part1;
<html:a class="amulet-palm-link" tabindex="1"
statustext="&amulet.palm.showmore.statustext;"
onmouseover="PROTTB_setStatus(this.getAttribute('statustext'))"
onmouseout="PROTTB_clearStatus()"
id="amulet-palm-showmore-link" href="#"
onclick="goDoCommand('amulet-palm-showmore')">
&amulet.palm.message.link1.more;
</html:a>
</description>
<!-- Content area: rest of the warning -->
<vbox id="amulet-palm-extended-message" hidden="true"
class="amulet-palm-fixed-width">
<description class="amulet-palm-paragraph">
&amulet.palm.message.part2;
<html:a class="amulet-palm-link" tabindex="2"
id="amulet-palm-faq-link"
onmouseover="PROTTB_setStatusFor(this.id)"
onmouseout="PROTTB_clearStatus()"
onclick="goDoCommand('amulet-palm-phishingfaq')">
&amulet.palm.message.link2.phishing.faq;</html:a>
&amulet.palm.message.part3;
<html:a class="amulet-palm-link" tabindex="3"
id="amulet-palm-phishingorg-link"
onmouseover="PROTTB_setStatusFor(this.id)"
onmouseout="PROTTB_clearStatus()"
onclick="goDoCommand('amulet-palm-phishingorg')">
&amulet.palm.message.link3.antiphishing.org;</html:a>&amulet.palm.message.part3.dot;
</description>
<description class="amulet-palm-paragraph">
&amulet.palm.message.part4;
<html:a class="amulet-palm-link" tabindex="4"
id="amulet-palm-fraudpage-link"
onmouseover="PROTTB_setStatusFor(this.id)"
onmouseout="PROTTB_clearStatus()"
onclick="goDoCommand('amulet-palm-fraudpage')">
&amulet.palm.message.link4.gwghome;</html:a>&amulet.palm.message.part4.dot;</description>
<description class="amulet-palm-paragraph">
&amulet.palm.message.part5;<html:a
class="amulet-palm-link" tabindex="6"
id="amulet-palm-falsepositive-link"
onmouseover="PROTTB_setStatusFor(this.id)"
onmouseout="PROTTB_clearStatus()"
onclick="goDoCommand('amulet-palm-falsepositive')">
&amulet.palm.message.link5.report;</html:a>&amulet.palm.message.part5.dot;
</description>
</vbox>
<!-- Main action links -->
<description id="amulet-palm-message-actionbox" pack="center"
align="center" crop="none" class="amulet-palm-fixed-width">
<textbutton class="amulet-palm-link amulet-palm-bigtext amulet-padded"
statustext="&amulet.palm.accept.statustext;"
id="amulet-palm-accept-link"
onmouseover="PROTTB_setStatus(this.getAttribute('statustext'))"
onmouseout="PROTTB_clearStatus()"
label="&amulet.palm.accept.label;" tabindex="2"
command="amulet-accept-warning" />
<spacer flex="1"/>
<textbutton class="amulet-palm-link amulet-palm-bigtext amulet-padded"
statustext="&amulet.palm.decline.statustext;"
id="amulet-palm-decline-link"
onmouseover="PROTTB_setStatus(this.getAttribute('statustext'))"
onmouseout="PROTTB_clearStatus()"
label="&amulet.palm.decline.label;" tabindex="3"
command="amulet-decline-warning" />
</description>
<!-- Footer -->
<hbox align="center" class="amulet-palm-fixed-width">
<image id="amulet-palm-google-logo"
tooltiptext="&amulet.palm.google.logo.tooltip;"
src="chrome://tb-amulet-of-protection/content/logo.png" />
<spacer flex="1" />
<hbox>
[<textbutton id="amulet-palm-report-link"
onmouseover="PROTTB_setStatusFor(this.id)"
onmouseout="PROTTB_clearStatus()"
class="amulet-palm-smalltext amulet-palm-link"
label="&amulet.palm.sendreport.label;"
command="amulet-submit-generic-phishing" />]
</hbox>
</hbox>
</vbox>
</vbox>
<!-- We position things over a canvas; to do so, we need a stack -->
<stack id="amulet-content-stack" insertbefore="status-bar" hidden="true">
<!-- The canvas goes here as the first child, but since it takes
up so much memory and is rarely used, we add and remove it
dynamically -->
<!-- This dims out the browser content -->
<vbox id="amulet-dim-area-canvas" hidden="true" flex="1">
</vbox>
</stack>
</window>
</overlay>