1
<?xml version="1.0" encoding="UTF-8"?>
4
Copyright (C) 2006-2008 Eric H. Jung and LeahScape, Inc.
5
http://foxyproxy.mozdev.org/
8
This source code is released under the GPL license,
9
available in the LICENSE file at the root of this installation
10
and also online at http://www.gnu.org/licenses/gpl.txt
12
<?xml-stylesheet href="foxyproxy.css" type="text/css"?>
13
<!DOCTYPE overlay SYSTEM "chrome://foxyproxy/locale/foxyproxy.dtd">
15
<overlay id="foxyproxy-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
17
<script src="overlay.js"/>
18
<script src="common.js"/>
20
<stringbundleset id="foxyproxy-strings">
21
<stringbundle src="chrome://foxyproxy/locale/foxyproxy.properties"/>
25
<menupopup id="menu_ToolsPopup">
26
<menu id="foxyproxy-tools-menu-1" label="&foxyproxy.label;" insertbefore="devToolsSeparator" position="9"
27
accesskey="&foxyproxy.accesskey;" class="menu-iconic foxyproxybutton-small"
28
mode="patterns" persist="mode">
29
<menupopup id="foxyproxy-toolsmenu-popup"
30
onpopupshowing="foxyproxy.onPopupShowing(this, event);"
31
onpopuphiding="foxyproxy.onPopupHiding();"/>
35
<keyset id="mainKeyset">
36
<!-- accel is ctrl on windows, cmd on mac -->
37
<key id="key_foxyproxyfocus" keycode="VK_F2" modifiers="accel" oncommand="foxyproxy.onOptionsDialog();"/>
38
<key id="key_foxyproxyfocus" keycode="VK_F2" modifiers="alt" oncommand="foxyproxy.onQuickAddDialog(event);"/>
41
<popup id="contentAreaContextMenu">
42
<menu id="foxyproxy-context-menu-1" label="&foxyproxy.label;"
43
accesskey="&foxyproxy.accesskey;" class="menu-iconic foxyproxybutton-small"
44
mode="patterns" persist="mode hidden" hidden="false">
45
<menupopup id="foxyproxy-contextmenu-popup"
46
onpopupshowing="foxyproxy.onPopupShowing(this, event);"
47
onpopuphiding="foxyproxy.onPopupHiding();"/>
51
<statusbar id="status-bar">
53
<popupset style="overflow: auto;">
54
<tooltip id="foxyproxy-popup" style="max-height: none; max-width: none;" onclick="this.hidePopup();"/>
57
<menupopup id="foxyproxy-statusbar-popup"
58
onpopupshowing="foxyproxy.onPopupShowing(this, event);"
59
onpopuphiding="foxyproxy.onPopupHiding();"/>
61
id="foxyproxy-status-text"
62
onclick="foxyproxy.onSBTBClick(event, foxyproxy.fp.statusbar);"
63
mode="patterns" persist="mode hidden" hidden="true" mousethrough="never"/> <!-- mousethrough is for SB. See http://www.songbirdnest.com/node/2547 -->
65
id="foxyproxy-status-icon"
66
onclick="foxyproxy.onSBTBClick(event, foxyproxy.fp.statusbar);"
67
class="statusbarpanel-menu-iconic foxyproxybutton-small"
68
mode="patterns" persist="mode hidden" hidden="true" mousethrough="never"/> <!-- mousethrough is for SB. See http://www.songbirdnest.com/node/2547 -->
71
<toolbarpalette id="BrowserToolbarPalette">
72
<toolbarbutton id="foxyproxy-button-1" type="menu" mode="patterns" persist="mode" label="&foxyproxy.label;"
73
class="toolbarbutton-1 chromeclass-toolbar-additional foxyproxybutton"
74
onclick="foxyproxy.onSBTBClick(event, foxyproxy.fp.toolbar);event.stopPropagation();event.preventDefault();return false;">
75
<menupopup id="foxyproxy-toolbarbutton-popup"
76
onpopuphiding="foxyproxy.onPopupHiding();"
77
onpopupshowing="event.stopPropagation();event.preventDefault();return false;"/> <!-- todo: do i really need all 3 of these? -->