browser-menubar.inc
Go to the documentation of this file.
1 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4 #
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
9 #
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
14 #
15 # The Original Code is Mozilla.org Code.
16 #
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 2001
20 # the Initial Developer. All Rights Reserved.
21 #
22 # Contributor(s):
23 # Ehsan Akhgari <ehsan.akhgari@gmail.com>
24 #
25 # Alternatively, the contents of this file may be used under the terms of
26 # either the GNU General Public License Version 2 or later (the "GPL"), or
27 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 # in which case the provisions of the GPL or the LGPL are applicable instead
29 # of those above. If you wish to allow use of your version of this file only
30 # under the terms of either the GPL or the LGPL, and not to allow others to
31 # use your version of this file under the terms of the MPL, indicate your
32 # decision by deleting the provisions above and replace them with the notice
33 # and other provisions required by the GPL or the LGPL. If you do not delete
34 # the provisions above, a recipient may use your version of this file under
35 # the terms of any one of the MPL, the GPL or the LGPL.
36 #
37 # ***** END LICENSE BLOCK *****
38 
39  <menubar id="main-menubar"
40  style="border:0px;padding:0px;margin:0px;-moz-appearance:none">
41  <menu id="file-menu" label="&fileMenu.label;"
42  accesskey="&fileMenu.accesskey;">
43  <menupopup id="menu_FilePopup" onpopupshowing="getContentAreaFrameCount();">
44  <menuitem id="menu_newNavigator"
45  label="&newNavigatorCmd.label;"
46  accesskey="&newNavigatorCmd.accesskey;"
47  key="key_newNavigator"
48  command="cmd_newNavigator"/>
49  <menuitem id="menu_newNavigatorTab"
50  label="&tabCmd.label;"
51  command="cmd_newNavigatorTab"
52  key="key_newNavigatorTab"
53  accesskey="&tabCmd.accesskey;"/>
54  <menuitem id="menu_openLocation"
55  label="&openLocationCmd.label;"
56  command="Browser:OpenLocation"
57  key="focusURLBar"
58  accesskey="&openLocationCmd.accesskey;"/>
59  <menuitem id="menu_openFile"
60  label="&openFileCmd.label;"
61  command="Browser:OpenFile"
62  key="openFileKb"
63  accesskey="&openFileCmd.accesskey;"/>
64  <menuitem id="menu_closeWindow"
65  hidden="true"
66  command="cmd_closeWindow"
67  key="key_closeWindow"
68  label="&closeWindow.label;"
69  accesskey="&closeWindow.accesskey;"/>
70  <menuitem id="menu_close"
71  label="&closeCmd.label;"
72  key="key_close"
73  accesskey="&closeCmd.accesskey;"
74  command="cmd_close"/>
75  <menuseparator/>
76  <menuitem id="menu_savePage"
77  label="&savePageCmd.label;"
78  accesskey="&savePageCmd.accesskey;"
79  key="key_savePage"
80  command="Browser:SavePage"/>
81  <menuitem id="menu_saveFrame"
82  label="&saveFrameCmd.label;"
83  accesskey="&saveFrameCmd.accesskey;"
84  command="Browser:SaveFrame"
85  hidden="true"/>
86  <menuitem id="menu_sendLink"
87  label="&sendPageCmd.label;"
88  accesskey="&sendPageCmd.accesskey;"
89  command="Browser:SendLink"/>
90  <menuseparator/>
91 #ifndef WINCE
92  <menuitem id="menu_printSetup"
93  label="&printSetupCmd.label;"
94  accesskey="&printSetupCmd.accesskey;"
95  command="cmd_pageSetup"/>
96 #ifndef XP_MACOSX
97  <menuitem id="menu_printPreview"
98  label="&printPreviewCmd.label;"
99  accesskey="&printPreviewCmd.accesskey;"
100  command="cmd_printPreview"/>
101 #endif
102  <menuitem id="menu_print"
103  label="&printCmd.label;"
104  accesskey="&printCmd.accesskey;"
105  key="printKb"
106  command="cmd_print"/>
107  <menuseparator/>
108  <menuitem id="menu_import"
109  label="&import.label;"
110  accesskey="&import.accesskey;"
111  oncommand="BrowserImport();"/>
112 #ifndef XP_MACOSX
113  <menuseparator/>
114 #endif
115 #endif
116  <menuitem id="goOfflineMenuitem"
117  label="&goOfflineCmd.label;"
118  accesskey="&goOfflineCmd.accesskey;"
119  type="checkbox"
120  oncommand="BrowserOffline.toggleOfflineStatus();"/>
121  <menuitem id="menu_FileQuitItem"
122 #ifdef XP_WIN
123  label="&quitApplicationCmdWin.label;"
124  accesskey="&quitApplicationCmdWin.accesskey;"
125 #else
126 #ifdef XP_MACOSX
127  label="&quitApplicationCmdMac.label;"
128 #else
129  label="&quitApplicationCmd.label;"
130  accesskey="&quitApplicationCmd.accesskey;"
131 #endif
132 #ifdef XP_UNIX
133  key="key_quitApplication"
134 #endif
135 #endif
136  command="cmd_quitApplication"/>
137  </menupopup>
138  </menu>
139 
140  <menu id="edit-menu" label="&editMenu.label;"
141  accesskey="&editMenu.accesskey;">
142  <menupopup id="menu_EditPopup"
143  onpopupshowing="updateEditUIVisibility()"
144  onpopuphidden="updateEditUIVisibility()">
145  <menuitem id="menu_undo"
146  label="&undoCmd.label;"
147  key="key_undo"
148  accesskey="&undoCmd.accesskey;"
149  command="cmd_undo"/>
150  <menuitem id="menu_redo"
151  label="&redoCmd.label;"
152  key="key_redo"
153  accesskey="&redoCmd.accesskey;"
154  command="cmd_redo"/>
155  <menuseparator/>
156  <menuitem id="menu_cut"
157  label="&cutCmd.label;"
158  key="key_cut"
159  accesskey="&cutCmd.accesskey;"
160  command="cmd_cut"/>
161  <menuitem id="menu_copy"
162  label="&copyCmd.label;"
163  key="key_copy"
164  accesskey="&copyCmd.accesskey;"
165  command="cmd_copy"/>
166  <menuitem id="menu_paste"
167  label="&pasteCmd.label;"
168  key="key_paste"
169  accesskey="&pasteCmd.accesskey;"
170  command="cmd_paste"/>
171  <menuitem id="menu_delete"
172  label="&deleteCmd.label;"
173  key="key_delete"
174  accesskey="&deleteCmd.accesskey;"
175  command="cmd_delete"/>
176  <menuseparator/>
177  <menuitem id="menu_selectAll"
178  label="&selectAllCmd.label;"
179  key="key_selectAll"
180  accesskey="&selectAllCmd.accesskey;"
181  command="cmd_selectAll"/>
182  <menuseparator/>
183  <menuitem id="menu_find"
184  label="&findOnCmd.label;"
185  accesskey="&findOnCmd.accesskey;"
186  key="key_find"
187  command="cmd_find"/>
188  <menuitem id="menu_findAgain"
189  label="&findAgainCmd.label;"
190  accesskey="&findAgainCmd.accesskey;"
191  key="key_findAgain"
192  command="cmd_findAgain"/>
193  <menuseparator hidden="true" id="textfieldDirection-separator"/>
194  <menuitem id="textfieldDirection-swap"
195  command="cmd_switchTextDirection"
196  key="key_switchTextDirection"
197  label="&bidiSwitchTextDirectionItem.label;"
198  accesskey="&bidiSwitchTextDirectionItem.accesskey;"
199  hidden="true"/>
200 #ifdef XP_UNIX
201 #ifndef XP_MACOSX
202  <menuseparator/>
203  <menuitem id="menu_preferences"
204  label="&preferencesCmdUnix.label;"
205  accesskey="&preferencesCmdUnix.accesskey;"
206  oncommand="openPreferences();"/>
207 #endif
208 #endif
209  </menupopup>
210  </menu>
211 
212  <menu id="view-menu" label="&viewMenu.label;"
213  accesskey="&viewMenu.accesskey;">
214  <menupopup id="menu_viewPopup">
215  <menu id="viewToolbarsMenu"
216  label="&viewToolbarsMenu.label;"
217  accesskey="&viewToolbarsMenu.accesskey;"
218  onpopupshowing="onViewToolbarsPopupShowing(event);">
219  <menupopup>
220  <menuseparator/>
221  <menuitem id="menu_customizeToolbars"
222  label="&viewCustomizeToolbar.label;"
223  accesskey="&viewCustomizeToolbar.accesskey;"
224  command="cmd_CustomizeToolbars"/>
225  </menupopup>
226  </menu>
227  <menuitem id="toggle_taskbar"
228  label="&taskbarCmd.label;"
229  accesskey="&taskbarCmd.accesskey;"
230  type="checkbox"
231  command="cmd_toggleTaskbar"
232 #ifndef WINCE
233  checked="true" />
234 #else
235  checked="false" />
236 #endif
237  <menu id="viewSidebarMenuMenu"
238  label="&viewSidebarMenu.label;"
239  accesskey="&viewSidebarMenu.accesskey;">
240  <menupopup id="viewSidebarMenu">
241  <menuitem id="menu_bookmarksSidebar"
242  key="viewBookmarksSidebarKb"
243  observes="viewBookmarksSidebar"
244  accesskey="&bookmarksButton.accesskey;"/>
245  <menuitem id="menu_historySidebar"
246  key="key_gotoHistory"
247  observes="viewHistorySidebar"
248  label="&historyButton.label;"
249  accesskey="&historySidebarCmd.accesskey;"/>
250  </menupopup>
251  </menu>
252  <menuseparator/>
253  <menuitem id="menu_stop"
254  label="&stopCmd.label;"
255  accesskey="&stopCmd.accesskey;"
256  command="Browser:Stop"
257 #ifdef XP_MACOSX
258  key="key_stop_mac"/>
259 #else
260  key="key_stop"/>
261 #endif
262  <menuitem id="menu_reload"
263  label="&reloadCmd.label;"
264  accesskey="&reloadCmd.accesskey;"
265  key="key_reload"
266  command="Browser:ReloadOrDuplicate"
267  onclick="checkForMiddleClick(this, event);"/>
268  <menuseparator/>
269  <menu id="viewFullZoomMenu" label="&fullZoom.label;"
270  accesskey="&fullZoom.accesskey;"
271  onpopupshowing="FullZoom.updateMenu();">
272  <menupopup>
273  <menuitem id="menu_zoomEnlarge"
274  key="key_fullZoomEnlarge"
275  label="&fullZoomEnlargeCmd.label;"
276  accesskey="&fullZoomEnlargeCmd.accesskey;"
277  command="cmd_fullZoomEnlarge"/>
278  <menuitem id="menu_zoomReduce"
279  key="key_fullZoomReduce"
280  label="&fullZoomReduceCmd.label;"
281  accesskey="&fullZoomReduceCmd.accesskey;"
282  command="cmd_fullZoomReduce"/>
283  <menuseparator/>
284  <menuitem id="menu_zoomReset"
285  key="key_fullZoomReset"
286  label="&fullZoomResetCmd.label;"
287  accesskey="&fullZoomResetCmd.accesskey;"
288  command="cmd_fullZoomReset"/>
289  <menuseparator/>
290  <menuitem id="toggle_zoom"
291  label="&fullZoomToggleCmd.label;"
292  accesskey="&fullZoomToggleCmd.accesskey;"
293  type="checkbox"
294  command="cmd_fullZoomToggle"
295  checked="false"/>
296  </menupopup>
297  </menu>
298  <menu id="pageStyleMenu" label="&pageStyleMenu.label;"
299  accesskey="&pageStyleMenu.accesskey;" observes="isImage">
300  <menupopup onpopupshowing="stylesheetFillPopup(this);"
301  oncommand="stylesheetSwitchAll(window.content, event.target.getAttribute('data')); setStyleDisabled(false);">
302  <menuitem id="menu_pageStyleNoStyle"
303  label="&pageStyleNoStyle.label;"
304  accesskey="&pageStyleNoStyle.accesskey;"
305  oncommand="setStyleDisabled(true); event.stopPropagation();"
306  type="radio"/>
307  <menuitem id="menu_pageStylePersistentOnly"
308  label="&pageStylePersistentOnly.label;"
309  accesskey="&pageStylePersistentOnly.accesskey;"
310  type="radio"
311  checked="true"/>
312  <menuseparator/>
313  </menupopup>
314  </menu>
315  <menu id="charsetMenu"
316  label="&charsetMenu.label;"
317  accesskey="&charsetMenu.accesskey;"
318  datasources="rdf:charset-menu"
319  ref="NC:BrowserCharsetMenuRoot"
320  oncommand="MultiplexHandler(event)"
321  onpopupshowing="CreateMenu('browser');UpdateMenus(event)"
322  onpopupshown="CreateMenu('more-menu');"
323  observes="isImage">
324  <template>
325  <rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
326  <menupopup>
327  <menuseparator uri="..." />
328  </menupopup>
329  </rule>
330  <rule>
331  <menupopup>
332  <menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
333  </menupopup>
334  </rule>
335  </template>
336 
337  <menupopup>
338  <menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
339  <template>
340  <rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
341  <menupopup>
342  <menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
343  </menupopup>
344  </rule>
345  </template>
346  <menupopup>
347  </menupopup>
348  </menu>
349  <menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
350  <template>
351  <rule>
352  <menupopup>
353  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
354  </menupopup>
355  </rule>
356  </template>
357  <menupopup>
358  <menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
359  <template>
360  <rule>
361  <menupopup>
362  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
363  </menupopup>
364  </rule>
365  </template>
366  <menupopup>
367  </menupopup>
368  </menu>
369  <menu label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
370  <template>
371  <rule>
372  <menupopup>
373  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
374  </menupopup>
375  </rule>
376  </template>
377  <menupopup>
378  </menupopup>
379  </menu>
380  <menu label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
381  <template>
382  <rule>
383  <menupopup>
384  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
385  </menupopup>
386  </rule>
387  </template>
388  <menupopup>
389  </menupopup>
390  </menu>
391  <menu label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
392  <template>
393  <rule>
394  <menupopup>
395  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
396  </menupopup>
397  </rule>
398  </template>
399  <menupopup>
400  </menupopup>
401  </menu>
402  <menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
403  <template>
404  <rule>
405  <menupopup>
406  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
407  </menupopup>
408  </rule>
409  </template>
410  <menupopup>
411  </menupopup>
412  </menu>
413  <menu label="&charsetMenuUnicode.label;" accesskey="&charsetMenuUnicode.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserUnicodeCharsetMenuRoot">
414  <template>
415  <rule>
416  <menupopup>
417  <menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
418  </menupopup>
419  </rule>
420  </template>
421  <menupopup>
422  </menupopup>
423  </menu>
424  <menuseparator />
425  </menupopup>
426  </menu>
427  <menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://global/content/customizeCharset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
428  </menupopup>
429  </menu>
430  <menuseparator/>
431  <menuitem id="menu_pageSource"
432  accesskey="&pageSourceCmd.accesskey;"
433  label="&pageSourceCmd.label;"
434  key="key_viewSource"
435  command="View:PageSource"/>
436  <menuitem id="fullScreenItem"
437  accesskey="&fullScreenCmd.accesskey;"
438  label="&fullScreenCmd.label;"
439  key="key_fullScreen"
440  type="checkbox"
441  observes="View:FullScreen"/>
442  <menuitem id="menu_showAllTabs"
443  hidden="true"
444  accesskey="&showAllTabsCmd.accesskey;"
445  label="&showAllTabsCmd.label;"
446  command="Browser:ShowAllTabs"
447  key="key_showAllTabs"/>
448  <menuseparator hidden="true" id="documentDirection-separator"/>
449  <menuitem id="documentDirection-swap"
450  hidden="true"
451  label="&bidiSwitchPageDirectionItem.label;"
452  accesskey="&bidiSwitchPageDirectionItem.accesskey;"
453  oncommand="SwitchDocumentDirection(window.content)"/>
454  </menupopup>
455  </menu>
456 
457  <menu id="history-menu"
458  oncommand="var node = event.target.node; if (node) { PlacesUIUtils.markPageAsTyped(node.uri); openUILink(node.uri, event, false, true); }"
459  onclick="checkForMiddleClick(this, event);"
460  label="&historyMenu.label;"
461  accesskey="&historyMenu.accesskey;">
462  <menupopup id="goPopup"
463  type="places"
464  onpopupshowing="HistoryMenu.onPopupShowing(event);"
465  onpopuphidden="HistoryMenu.onPopupHidden(event);"
466  place="place:redirectsMode=2&amp;sort=4&amp;maxResults=10"
467  tooltip="bhTooltip" popupsinherittooltip="true">
468  <menuitem id="historyMenuBack"
469  label="&backCmd.label;"
470 #ifdef XP_MACOSX
471  key="goBackKb2"
472 #else
473  key="goBackKb"
474 #endif
475  command="Browser:BackOrBackDuplicate"
476  onclick="checkForMiddleClick(this, event);"/>
477  <menuitem id="historyMenuForward"
478  label="&forwardCmd.label;"
479 #ifdef XP_MACOSX
480  key="goForwardKb2"
481 #else
482  key="goForwardKb"
483 #endif
484  command="Browser:ForwardOrForwardDuplicate"
485  onclick="checkForMiddleClick(this, event);"/>
486  <menuitem id="historyMenuHome"
487  label="&historyHomeCmd.label;"
488  oncommand="BrowserGoHome(event);"
489  onclick="checkForMiddleClick(this, event);"
490  key="goHome"/>
491  <menuitem id="menu_showAllHistory"
492  label="&showAllHistoryCmd2.label;"
493 #ifndef XP_MACOSX
494  key="showAllHistoryKb"
495 #endif
496  command="Browser:ShowAllHistory"/>
497  <menuseparator id="startHistorySeparator"/>
498  <menuseparator id="endHistorySeparator" builder="end"/>
499  <menu id="historyUndoMenu"
500  label="&historyUndoMenu.label;"
501  disabled="true">
502  <menupopup id="historyUndoPopup"
503  onpopupshowing="HistoryMenu.populateUndoSubmenu();"/>
504  </menu>
505  <menu id="historyUndoWindowMenu"
506  label="&historyUndoWindowMenu.label;"
507  disabled="true">
508  <menupopup id="historyUndoWindowPopup"
509  onpopupshowing="HistoryMenu.populateUndoWindowSubmenu();"/>
510  </menu>
511  </menupopup>
512  </menu>
513 
514  <menu id="bookmarksMenu"
515  label="&bookmarksMenu.label;"
516  accesskey="&bookmarksMenu.accesskey;"
517  ondragenter="PlacesMenuDNDController.onBookmarksMenuDragEnter(event);"
518  ondrop="nsDragAndDrop.drop(event, BookmarksMenuDropHandler);"
519  ondragover="nsDragAndDrop.dragOver(event, BookmarksMenuDropHandler);"
520  ondragexit="nsDragAndDrop.dragExit(event, BookmarksMenuDropHandler);">
521  <menupopup id="bookmarksMenuPopup"
522  type="places"
523  place="place:folder=BOOKMARKS_MENU"
524  context="placesContext"
525  openInTabs="children"
526  oncommand="BookmarksEventHandler.onCommand(event);"
527  onclick="BookmarksEventHandler.onClick(event);"
528  onpopupshowing="BookmarksEventHandler.onPopupShowing(event);"
529  tooltip="bhTooltip" popupsinherittooltip="true">
530  <menuitem id="menu_bookmarkThisPage"
531  label="&bookmarkThisPageCmd.label;"
532  command="Browser:AddBookmarkAs"
533  key="addBookmarkAsKb"/>
534  <menuitem id="subscribeToPageMenuitem"
535  label="&subscribeToPageMenuitem.label;"
536  oncommand="return FeedHandler.subscribeToFeed(null, event);"
537  onclick="checkForMiddleClick(this, event);"
538  disabled="true"/>
539  <menu id="subscribeToPageMenupopup"
540  label="&subscribeToPageMenupopup.label;"
541  hidden="true">
542  <menupopup id="subscribeToPageSubmenuMenupopup"
543  onpopupshowing="return FeedHandler.buildFeedList(event.target);"
544  oncommand="return FeedHandler.subscribeToFeed(null, event);"
545  onclick="checkForMiddleClick(this, event);"/>
546  </menu>
547  <menuitem id="menu_bookmarkAllTabs"
548  label="&addCurPagesCmd.label;"
549  command="Browser:BookmarkAllTabs"
550  key="bookmarkAllTabsKb"/>
551  <menuitem id="bookmarksShowAll"
552  label="&organizeBookmarks.label;"
553  command="Browser:ShowAllBookmarks"
554  key="manBookmarkKb"/>
555  <menuseparator id="organizeBookmarksSeparator"/>
556  <menu id="bookmarksToolbarFolderMenu"
557  class="menu-iconic bookmark-item"
558  label="&personalbarCmd.label;"
559  container="true">
560  <menupopup id="bookmarksToolbarFolderPopup"
561  type="places"
562  place="place:folder=TOOLBAR"
563  context="placesContext"
564  onpopupshowing="BookmarksEventHandler.onPopupShowing(event);"/>
565  </menu>
566  <menuseparator/>
567  </menupopup>
568  </menu>
569 
570  <menu id="tools-menu"
571  label="&toolsMenu.label;"
572  accesskey="&toolsMenu.accesskey;">
573  <menupopup id="menu_ToolsPopup">
574  <menuitem id="menu_search"
575  label="&search.label;"
576  accesskey="&search.accesskey;"
577  key="key_search"
578  command="Tools:Search"/>
579  <menuseparator id="browserToolsSeparator"/>
580  <menuitem id="menu_openDownloads"
581  label="&downloads.label;"
582  accesskey="&downloads.accesskey;"
583  key="key_openDownloads"
584  command="Tools:Downloads"/>
585  <menuitem id="menu_openAddons"
586  label="&addons.label;"
587  accesskey="&addons.accesskey;"
588  command="Tools:Addons"/>
589  <menuseparator id="devToolsSeparator"/>
590  <menuitem id="javascriptConsole"
591  label="&errorConsoleCmd.label;"
592  accesskey="&errorConsoleCmd.accesskey;"
593  key="key_errorConsole"
594  oncommand="toJavaScriptConsole();"/>
595  <menuitem id="menu_pageInfo"
596  accesskey="&pageInfoCmd.accesskey;"
597  label="&pageInfoCmd.label;"
598 #ifndef XP_WIN
599  key="key_viewInfo"
600 #endif
601  command="View:PageInfo"/>
602  <menuseparator id="sanitizeSeparator"/>
603  <menuitem id="privateBrowsingItem"
604  label="&privateBrowsingCmd.start.label;"
605  accesskey="&privateBrowsingCmd.start.accesskey;"
606  startlabel="&privateBrowsingCmd.start.label;"
607  startaccesskey="&privateBrowsingCmd.start.accesskey;"
608  stoplabel="&privateBrowsingCmd.stop.label;"
609  stopaccesskey="&privateBrowsingCmd.stop.accesskey;"
610  key="key_privatebrowsing"
611  command="Tools:PrivateBrowsing"/>
612  <menuitem id="sanitizeItem"
613  accesskey="&clearRecentHistoryCmd.accesskey;"
614  label="&clearRecentHistoryCmd.label;"
615  key="key_sanitize"
616  command="Tools:Sanitize"/>
617 #ifndef XP_UNIX
618  <menuseparator id="prefSep"/>
619  <menuitem id="menu_preferences"
620  label="&preferencesCmd.label;"
621  accesskey="&preferencesCmd.accesskey;"
622  oncommand="openPreferences();"/>
623 #endif
624  </menupopup>
625  </menu>
626 
627 #ifdef XP_MACOSX
628  <menu id="windowMenu" />
629 #endif
630  <menu id="helpMenu" />
631  </menubar>
var menu
this _contentSandbox label
Definition: FeedWriter.js:814
Element Properties style
var uri
Definition: FeedWriter.js:1135
var hidden