2
<?xml-stylesheet href="chrome://flashblock/skin/flashblock.css" type="text/css"?>
4
<!DOCTYPE overlay SYSTEM "chrome://flashblock/locale/flashblock.dtd">
6
<overlay id="flashblockOverlay"
7
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
9
<script type="application/x-javascript" src="flashblock-prefs.js"/>
10
<script type="application/x-javascript" src="flashblock.js"/>
11
<stringbundleset id="stringbundleset">
12
<stringbundle id="bundle_flashblock"
13
src="chrome://flashblock/locale/flashblock.properties"/>
16
<popup id="contentAreaContextMenu">
17
<menuitem id="context-flashRemove"
18
label="&flashRemove.label;"
19
accesskey="&flashRemove.accesskey;"
20
insertafter="context-stop"
21
oncommand="Flashblock.hideObject();"/>
22
<menuitem id="context-flashWhitelist"
23
label="&flashWhitelist.label;"
24
accesskey="&flashWhitelist.accesskey;"
25
insertafter="context-stop"
26
oncommand="Flashblock.showOptions();"/>
27
<menuitem id="context-flashLocation"
28
label="&flashCopyLocation.label;"
29
accesskey="&flashCopyLocation.accesskey;"
30
initlabel="&flashCopyLocation.label;:"
31
insertafter="context-stop"
32
oncommand="Flashblock.copyLocation();"/>
33
<menuitem id="context-flashAllow"
35
label="&flashAllow.label;"
36
accesskey="&flashAllow.accesskey;"
37
insertafter="context-stop"
38
oncommand="Flashblock.toggleSiteWhitelisted();"/>
41
<!-- Firefox toolbar button overlay -->
42
<toolbarpalette id="BrowserToolbarPalette">
44
id="flashblockToggle-button"
45
class="toolbarbutton-1 chromeclass-toolbar-additional"
47
label="&general.label;"
48
tooltiptext="&btnToggle.tooltip;"
49
oncommand="Flashblock.toggleButton(event);event.stopPropagation();"
51
<menupopup id="flashblockPopupMenu"/>
55
<!-- Common popup menu for buttons -->
56
<menupopup id="flashblockPopupMenu"
57
onpopupshowing="Flashblock.checkWhitelistToggle();
58
Flashblock.fixParentTip('hide', this.parentNode);"
59
onpopuphiding ="Flashblock.fixParentTip('show', this.parentNode);">
60
<menuitem id="buttonmenu-flashblockAllow"
62
label="&flashAllow.label;"
63
accesskey="&flashAllow.accesskey;"
64
oncommand="Flashblock.toggleSiteWhitelisted();
65
event.stopPropagation();"/>
66
<menuitem id="buttonmenu-flashblockOptions"
67
label="&flashWhitelist.label;"
68
accesskey="&flashWhitelist.accesskey;"
69
oncommand="Flashblock.showOptions(); event.stopPropagation();"/>
72
<popupset id="mainPopupSet">
73
<tooltip id="flashblockDefaultTooltip" label="" hidden="true">