2002-08-04 06:53:09 +04:00
|
|
|
<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->
|
|
|
|
|
|
|
|
<!-- The contents of this file are subject to the Netscape Public
|
|
|
|
License Version 1.1 (the "License"); you may not use this file
|
|
|
|
except in compliance with the License. You may obtain a copy of
|
|
|
|
the License at http://www.mozilla.org/NPL/
|
|
|
|
|
|
|
|
Software distributed under the License is distributed on an "AS
|
|
|
|
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
implied. See the License for the specific language governing
|
|
|
|
rights and limitations under the License.
|
|
|
|
|
|
|
|
The Original Code is Mozilla Communicator client code, released
|
|
|
|
March 31, 1998.
|
|
|
|
|
|
|
|
The Initial Developer of the Original Code is Netscape
|
|
|
|
Communications Corporation. Portions created by Netscape are
|
|
|
|
Copyright (C) 1998-2000 Netscape Communications Corporation. All
|
|
|
|
Rights Reserved.
|
|
|
|
|
|
|
|
Contributor(s):
|
|
|
|
Dean Tessman <dean_tessman@hotmail.com>
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
2002-09-28 10:25:03 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/content/browser.css" type="text/css"?>
|
2002-09-13 07:15:57 +04:00
|
|
|
<?xml-stylesheet href="chrome://browser/content/bookmarks/bookmarks.css" type="text/css"?>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-08-18 08:50:34 +04:00
|
|
|
<?xul-overlay href="chrome://navigator/content/platformNavigationBindings.xul"?>
|
|
|
|
<?xul-overlay href="chrome://communicator/content/platformCommunicatorOverlay.xul"?>
|
|
|
|
|
2002-08-04 06:53:09 +04:00
|
|
|
<!DOCTYPE window [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://global/locale/brand.dtd" >
|
|
|
|
%brandDTD;
|
|
|
|
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
|
|
|
|
%browserDTD;
|
|
|
|
<!ENTITY % globalRegionDTD SYSTEM "chrome://global-region/locale/region.dtd">
|
|
|
|
%globalRegionDTD;
|
|
|
|
<!ENTITY % charsetDTD SYSTEM "chrome://global/locale/charset.dtd" >
|
|
|
|
%charsetDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<window id="main-window"
|
|
|
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
onload="Startup()" onunload="Shutdown()"
|
|
|
|
contenttitlesetting="true"
|
2002-08-10 07:08:14 +04:00
|
|
|
title="&mainWindow.title;"
|
|
|
|
titlemodifier="&mainWindow.titlemodifier;"
|
|
|
|
titlemenuseparator="&mainWindow.titlemodifiermenuseparator;"
|
2002-08-04 06:53:09 +04:00
|
|
|
windowtype="navigator:browser"
|
|
|
|
width="610" height="450"
|
|
|
|
screenX="4" screenY="4"
|
|
|
|
persist="screenX screenY width height sizemode">
|
|
|
|
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsClipboard.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/strres.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaClick.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaDD.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/findUtils.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/utilityOverlay.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/charset.js"/>
|
2002-09-13 07:15:57 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/bookmarks/bookmarks.js"/>
|
2002-08-08 05:36:02 +04:00
|
|
|
<script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
|
|
|
<script type="application/x-javascript" src="chrome://browser/content/browser.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://global/content/nsContextMenu.js"/>
|
|
|
|
<script type="application/x-javascript" src="chrome://communicator/content/contentAreaUtils.js"/>
|
|
|
|
|
2002-09-25 05:50:57 +04:00
|
|
|
<stringbundleset id="stringbundleset"> <!-- Overlay hook for 3rd parties. Don't remove. -->
|
|
|
|
<stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/>
|
|
|
|
<stringbundle id="bundle_brand" src="chrome://global/locale/brand.properties"/>
|
|
|
|
<stringbundle id="bundle_browser_region" src="chrome://navigator-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="bundle_brand_region" src="chrome://global-region/locale/region.properties"/>
|
|
|
|
<stringbundle id="findBundle" src="chrome://global/locale/finddialog.properties"/>
|
|
|
|
</stringbundleset>
|
|
|
|
|
2002-08-09 00:44:13 +04:00
|
|
|
<commandset commandupdater="true"
|
2002-08-04 06:53:09 +04:00
|
|
|
events="focus"
|
|
|
|
oncommandupdate="goUpdateGlobalEditMenuItems()"/>
|
2002-08-09 00:44:13 +04:00
|
|
|
<commandset commandupdater="true"
|
2002-08-04 06:53:09 +04:00
|
|
|
events="select"
|
|
|
|
oncommandupdate="goUpdateSelectEditMenuItems()"/>
|
2002-08-09 00:44:13 +04:00
|
|
|
<commandset commandupdater="true"
|
2002-08-04 06:53:09 +04:00
|
|
|
events="undo"
|
|
|
|
oncommandupdate="goUpdateUndoEditMenuItems()"/>
|
2002-08-09 00:44:13 +04:00
|
|
|
<commandset commandupdater="true"
|
2002-08-04 06:53:09 +04:00
|
|
|
events="clipboard"
|
|
|
|
oncommandupdate="goUpdatePasteMenuItems()"/>
|
|
|
|
<command id="cmd_newNavigator"
|
|
|
|
oncommand="OpenBrowserWindow()"/>
|
2002-08-18 07:18:08 +04:00
|
|
|
<command id="cmd_bm_open" oncommand="goDoCommand('cmd_bm_open');"/>
|
2002-09-13 07:15:57 +04:00
|
|
|
<command id="cmd_bm_openinnewwindow" oncommand="goDoCommand('cmd_bm_openinnewwindow');"/>
|
|
|
|
<command id="cmd_bm_openinnewtab" oncommand="goDoCommand('cmd_bm_openinnewtab');"/>
|
|
|
|
<command id="cmd_bm_expandfolder" oncommand="goDoCommand('cmd_bm_expandfolder');"/>
|
2002-10-03 06:54:05 +04:00
|
|
|
<command id="cmd_bm_openfolder" oncommand="goDoCommand('cmd_bm_openfolder');"/>
|
2002-09-13 07:15:57 +04:00
|
|
|
<command id="cmd_bm_managefolder" oncommand="goDoCommand('cmd_bm_managefolder');"/>
|
2002-08-18 07:18:08 +04:00
|
|
|
<command id="cmd_bm_newfolder" oncommand="goDoCommand('cmd_bm_newfolder');"/>
|
|
|
|
<command id="cmd_bm_newbookmark" oncommand="goDoCommand('cmd_bm_newbookmark');"/>
|
|
|
|
<command id="cmd_bm_newseparator" oncommand="goDoCommand('cmd_bm_newseparator');"/>
|
|
|
|
<command id="cmd_bm_find" oncommand="goDoCommand('cmd_bm_find');"/>
|
|
|
|
<command id="cmd_bm_properties" oncommand="goDoCommand('cmd_bm_properties');"/>
|
|
|
|
<command id="cmd_bm_rename" oncommand="goDoCommand('cmd_bm_rename');"/>
|
2002-09-13 07:15:57 +04:00
|
|
|
<command id="cmd_bm_moveBookmark" oncommand="goDoCommand('cmd_bm_moveBookmark');"/>
|
|
|
|
<command id="cmd_bm_cut" oncommand="goDoCommand('cmd_bm_cut');"/>
|
|
|
|
<command id="cmd_bm_copy" oncommand="goDoCommand('cmd_bm_copy');"/>
|
|
|
|
<command id="cmd_bm_paste" oncommand="goDoCommand('cmd_bm_paste');"/>
|
|
|
|
<command id="cmd_bm_delete" oncommand="goDoCommand('cmd_bm_delete');"/>
|
|
|
|
|
2002-08-04 06:53:09 +04:00
|
|
|
<command id="cmd_newNavigatorTab" oncommand="BrowserOpenTab();"/>
|
|
|
|
<command id="Browser:OpenFile" oncommand="BrowserOpenFileWindow();"/>
|
|
|
|
<command id="Browser:SavePage" oncommand="saveDocument(window._content.document);"/>
|
|
|
|
<command id="Browser:Print" oncommand="BrowserPrint();"/>
|
2002-08-18 08:50:34 +04:00
|
|
|
<command id="cmd_quit"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<command id="cmd_close" oncommand="BrowserCloseTabOrWindow()"/>
|
|
|
|
<command id="cmd_closeWindow" oncommand="BrowserCloseWindow()"/>
|
2002-09-27 08:06:56 +04:00
|
|
|
<command id="cmd_CustomizeToolbars" oncommand="BrowserCustomizeToolbar()"/>
|
|
|
|
|
2002-08-04 06:53:09 +04:00
|
|
|
<command id="cmd_copyLink"
|
|
|
|
oncommand="goDoCommand('cmd_copyLink')"
|
|
|
|
disabled="false"/>
|
|
|
|
<command id="cmd_copyImageLocation"
|
|
|
|
oncommand="goDoCommand('cmd_copyImageLocation')"
|
|
|
|
disabled="false"/>
|
|
|
|
<command id="cmd_copyImageContents"
|
|
|
|
oncommand="goDoCommand('cmd_copyImageContents')"
|
|
|
|
disabled="false"/>
|
|
|
|
<command id="cmd_undo"
|
|
|
|
oncommand="goDoCommand('cmd_undo')"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_redo"
|
|
|
|
oncommand="goDoCommand('cmd_redo')"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_cut"
|
|
|
|
oncommand="goDoCommand('cmd_cut')"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_copy"
|
|
|
|
oncommand="goDoCommand('cmd_copy')"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_paste"
|
|
|
|
oncommand="goDoCommand('cmd_paste')"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_delete"
|
|
|
|
oncommand="goDoCommand('cmd_delete')"
|
|
|
|
valueDefault="&deleteCmd.label;"
|
|
|
|
disabled="true"/>
|
|
|
|
<command id="cmd_selectAll" observes="isImage"
|
|
|
|
oncommand="goDoCommand('cmd_selectAll')"
|
|
|
|
disabled="true"/>
|
|
|
|
|
|
|
|
<command id="View:PageSource" oncommand="BrowserViewSourceOfDocument(_content.document);"/>
|
2002-08-05 10:38:04 +04:00
|
|
|
<command id="View:PageInfo" oncommand="BrowserPageInfo();"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<command id="View:FullScreen" oncommand="BrowserFullScreen();"/>
|
|
|
|
|
|
|
|
<command id="Browser:Find" oncommand="BrowserFind();" observes="isImage"/>
|
|
|
|
<command id="Browser:FindAgain" oncommand="BrowserFindAgain();" observes="isImage"/>
|
|
|
|
|
|
|
|
<command id="Browser:AddBookmarkAs" oncommand="addBookmarkAs(document.getElementById('content'));"/>
|
|
|
|
|
|
|
|
<command id="Browser:Home" oncommand="BrowserHome();"/>
|
2002-08-09 05:41:39 +04:00
|
|
|
<command id="Browser:Back" oncommand="BrowserBack();" disabled="true"/>
|
|
|
|
<command id="Browser:Forward" oncommand="BrowserForward();" disabled="true"/>
|
|
|
|
<command id="Browser:Stop" oncommand="BrowserStop();" disabled="true"/>
|
2002-08-08 05:36:02 +04:00
|
|
|
<command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/>
|
|
|
|
<command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/>
|
2002-09-20 07:52:36 +04:00
|
|
|
<command id="Browser:OpenLocation" oncommand="openLocation();"/>
|
2002-09-30 05:58:19 +04:00
|
|
|
<broadcaster id="viewDownloadsSidebar" autoCheck="false" label="&downloadsButton.label;"
|
2002-09-30 06:00:12 +04:00
|
|
|
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/downloads/downloadPanel.xul"
|
2002-09-30 07:22:13 +04:00
|
|
|
sidebartitle="¤tDownloads.label;"
|
2002-09-30 05:58:19 +04:00
|
|
|
oncommand="toggleSidebar('viewDownloadsSidebar');"/>
|
|
|
|
|
|
|
|
<broadcaster id="viewBookmarksSidebar" autoCheck="false" label="&bookmarksButton.label;"
|
2002-09-30 06:00:12 +04:00
|
|
|
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/bookmarks/bookmarksPanel.xul"
|
2002-09-30 05:58:19 +04:00
|
|
|
oncommand="toggleSidebar('viewBookmarksSidebar');"/>
|
|
|
|
|
|
|
|
<broadcaster id="viewHistorySidebar" autoCheck="false" label="&historyButton.label;"
|
2002-09-30 06:00:12 +04:00
|
|
|
type="checkbox" group="sidebar" sidebarurl="chrome://browser/content/history/history-panel.xul"
|
2002-09-30 05:58:19 +04:00
|
|
|
oncommand="toggleSidebar('viewHistorySidebar');"/>
|
2002-09-20 07:52:36 +04:00
|
|
|
|
2002-08-04 06:53:09 +04:00
|
|
|
<broadcaster id="isImage"/>
|
|
|
|
|
|
|
|
<keyset>
|
|
|
|
<key id="key_newNavigator"
|
|
|
|
key="&newNavigatorCmd.key;"
|
|
|
|
command="cmd_newNavigator"
|
|
|
|
modifiers="accel"/>
|
|
|
|
<key id="key_newNavigatorTab" key="&tabCmd.commandkey;" modifiers="accel" command="cmd_newNavigatorTab"/>
|
2002-09-20 07:52:36 +04:00
|
|
|
<key id="focusURLBar" key="&openCmd.commandkey;" command="Browser:OpenLocation"
|
2002-08-04 06:53:09 +04:00
|
|
|
modifiers="accel"/>
|
2002-09-30 00:30:20 +04:00
|
|
|
<key id="focusSearchBar" key="&searchFocus.commandkey;" oncommand="focusSearchBar();" modifiers="accel"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<key id="openFileKb" key="&openFileCmd.commandkey;" command="Browser:OpenFile" modifiers="accel"/>
|
|
|
|
<key id="key_savePage" key="&savePageCmd.commandkey;" command="Browser:SavePage" modifiers="accel"/>
|
|
|
|
<key id="printKb" key="&printCmd.commandkey;" command="Browser:Print" modifiers="accel"/>
|
2002-08-18 08:50:34 +04:00
|
|
|
<key id="key_close"/>
|
|
|
|
<key id="key_closeWindow"/>
|
|
|
|
<key id="key_quit"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
|
|
|
<key id="key_undo"
|
|
|
|
key="&undoCmd.key;"
|
|
|
|
modifiers="accel"/>
|
|
|
|
<key id="key_redo"
|
|
|
|
key="&redoCmd.key;"
|
|
|
|
modifiers="accel"/>
|
|
|
|
<key id="key_cut"
|
|
|
|
key="&cutCmd.key;"
|
|
|
|
modifiers="accel"/>
|
|
|
|
<key id="key_copy"
|
|
|
|
key="©Cmd.key;"
|
|
|
|
modifiers="accel"/>
|
|
|
|
<key id="key_paste"
|
|
|
|
key="&pasteCmd.key;"
|
|
|
|
modifiers="accel"/>
|
2002-08-18 08:50:34 +04:00
|
|
|
<key id="key_delete"/>
|
|
|
|
<key id="key_selectAll"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
|
|
|
<key id="key_reload" key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
|
|
|
|
<key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
|
|
|
|
<key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>
|
|
|
|
<key id="key_viewInfo" key="&pageInfoCmd.commandkey;" command="View:PageInfo" modifiers="accel"/>
|
|
|
|
|
|
|
|
<key id="key_find" key="&findOnCmd.commandkey;" command="Browser:Find" modifiers="accel"/>
|
|
|
|
<key id="key_findAgain" key="&findAgainCmd.commandkey;" command="Browser:FindAgain" modifiers="accel"/>
|
|
|
|
|
|
|
|
<key id="addBookmarkAsKb" key="&addCurPageAsCmd.commandkey;" command="Browser:AddBookmarkAs" modifiers="accel"/>
|
2002-10-01 04:30:47 +04:00
|
|
|
<key id="viewBookmarksSidebarKb" key="&manBookmarksCmd.commandkey;" command="viewBookmarksSidebar" modifiers="accel"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-08-09 05:41:39 +04:00
|
|
|
<key id="key_stop" keycode="VK_ESCAPE" command="Browser:Stop"/>
|
2002-10-01 00:52:26 +04:00
|
|
|
<key id="key_gotoHistory" key="&history.commandKey;" command="viewHistorySidebar" modifiers="accel"/>
|
2002-08-08 05:36:02 +04:00
|
|
|
<key id="key_textZoomReduce" key="&textZoomReduceCmd.commandkey;" command="cmd_textZoomReduce" modifiers="accel"/>
|
|
|
|
<key id="key_textZoomEnlarge" key="&textZoomEnlargeCmd.commandkey;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
2002-08-10 03:08:12 +04:00
|
|
|
<key key="&textZoomEnlargeCmd.commandkey2;" command="cmd_textZoomEnlarge" modifiers="accel"/>
|
2002-10-01 04:30:47 +04:00
|
|
|
<key id="key_openDownloadsSidebar" key="&openDownloadsSidebar.commandkey;" command="viewDownloadsSidebar" modifiers="accel"/>
|
2002-08-18 08:50:34 +04:00
|
|
|
<keyset id="navigationKeys"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</keyset>
|
|
|
|
|
|
|
|
<popup id="backMenu" position="after_start" onpopupshowing="return BrowserBackMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<popup id="forwardMenu" position="after_start" onpopupshowing="return BrowserForwardMenu(event);" oncommand="gotoHistoryIndex(event);"/>
|
|
|
|
<tooltip id="aHTMLTooltip" onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/>
|
2002-09-30 00:06:57 +04:00
|
|
|
|
|
|
|
<popup id="SearchBarPopup" position="after_start"
|
2002-09-30 01:45:09 +04:00
|
|
|
datasources="rdf:internetsearch" ref="NC:SearchEngineRoot"
|
2002-09-30 00:06:57 +04:00
|
|
|
oncommand="return SearchBarPopupCommand(event);"
|
|
|
|
onpopupshowing="return SearchBarPopupShowing(event);">
|
2002-09-30 01:45:09 +04:00
|
|
|
<menuitem id="miSearchModeFind" type="checkbox"
|
2002-09-30 02:57:31 +04:00
|
|
|
label="&findOnSearchBarCmd.label;" accesskey="&findOnCmd.accesskey;"/>
|
2002-09-30 00:06:57 +04:00
|
|
|
<menuseparator/>
|
2002-09-30 01:45:09 +04:00
|
|
|
|
|
|
|
<template>
|
|
|
|
<menuitem type="checkbox"
|
|
|
|
uri="..." value="..."
|
|
|
|
src="rdf:http://home.netscape.com/NC-rdf#Icon"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</template>
|
2002-09-30 00:06:57 +04:00
|
|
|
</popup>
|
|
|
|
|
2002-09-28 10:25:03 +04:00
|
|
|
<popup type="autocomplete" id="PopupAutoComplete"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-08-10 03:03:32 +04:00
|
|
|
<popup id="toolbar-context-menu">
|
2002-09-27 08:06:56 +04:00
|
|
|
<menuitem command="cmd_CustomizeToolbars"
|
2002-08-10 03:03:32 +04:00
|
|
|
label="&viewCustomizeToolbar.label;"
|
|
|
|
accesskey="&viewCustomizeToolbar.accesskey;"/>
|
|
|
|
</popup>
|
2002-08-05 13:18:01 +04:00
|
|
|
|
2002-08-10 03:03:32 +04:00
|
|
|
<popup id="contentAreaContextMenu"
|
|
|
|
onpopupshowing="gContextMenu = new nsContextMenu( this ); return gContextMenu.shouldDisplay;"
|
|
|
|
onpopuphiding="gContextMenu = null;">
|
|
|
|
<menuitem id="context-openlink"
|
|
|
|
label="&openLinkCmd.label;"
|
|
|
|
accesskey="&openLinkCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.openLink();"/>
|
|
|
|
<menuitem id="context-openlinkintab"
|
|
|
|
label="&openLinkCmdInTab.label;"
|
|
|
|
accesskey="&openLinkCmdInTab.accesskey;"
|
|
|
|
oncommand="gContextMenu.openLinkInTab();"/>
|
|
|
|
<menuseparator id="context-sep-open"/>
|
|
|
|
<menuitem id="context-bookmarklink"
|
|
|
|
label="&bookmarkLinkCmd.label;"
|
|
|
|
accesskey="&bookmarkLinkCmd.accesskey;"
|
|
|
|
oncommand="BookmarksUtils.addBookmark(gContextMenu.linkURL(),
|
|
|
|
gContextMenu.linkText(),
|
|
|
|
undefined, true);"/>
|
|
|
|
<menuitem id="context-savelink"
|
|
|
|
label="&saveLinkCmd.label;"
|
|
|
|
accesskey="&saveLinkCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveLink();"/>
|
|
|
|
<menuitem id="context-copyemail"
|
|
|
|
label="©EmailCmd.label;"
|
|
|
|
accesskey="©EmailCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.copyEmail();"/>
|
|
|
|
<menuitem id="context-copylink"
|
|
|
|
label="©LinkCmd.label;"
|
|
|
|
accesskey="©LinkCmd.accesskey;"
|
|
|
|
command="cmd_copyLink"/>
|
|
|
|
<menuseparator id="context-sep-copylink"/>
|
|
|
|
<menuitem id="context-viewimage"
|
|
|
|
label="&viewImageCmd.label;"
|
|
|
|
accesskey="&viewImageCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewImage();"/>
|
|
|
|
<menuitem id="context-copyimage"
|
|
|
|
label="©ImageCmd.label;"
|
|
|
|
accesskey="©ImageCmd.accesskey;"
|
|
|
|
command="cmd_copyImageLocation"/>
|
|
|
|
<menuseparator id="context-sep-copyimage"/>
|
|
|
|
<menuitem id="context-saveimage"
|
|
|
|
label="&saveImageCmd.label;"
|
|
|
|
accesskey="&saveImageCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.saveImage();"/>
|
|
|
|
<menuitem id="context-setWallpaper"
|
|
|
|
label="&setWallpaperCmd.label;"
|
|
|
|
accesskey="&setWallpaperCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.setWallpaper();"/>
|
|
|
|
<menuitem id="context-back"
|
|
|
|
label="&backCmd.label;"
|
|
|
|
accesskey="&backCmd.accesskey;"
|
2002-08-25 06:40:49 +04:00
|
|
|
command="Browser:Back"/>
|
2002-08-10 03:03:32 +04:00
|
|
|
<menuitem id="context-forward"
|
|
|
|
label="&forwardCmd.label;"
|
|
|
|
accesskey="&forwardCmd.accesskey;"
|
2002-08-25 06:52:03 +04:00
|
|
|
command="Browser:Forward"/>
|
2002-08-10 03:03:32 +04:00
|
|
|
<menuitem id="context-reload"
|
|
|
|
label="&reloadCmd.label;"
|
|
|
|
accesskey="&reloadCmd.accesskey;"
|
|
|
|
oncommand="BrowserReload();"/>
|
|
|
|
<menuitem id="context-stop"
|
|
|
|
label="&stopCmd.label;"
|
|
|
|
accesskey="&stopCmd.accesskey;"
|
|
|
|
command="Browser:Stop"/>
|
|
|
|
<menuseparator id="context-sep-stop"/>
|
|
|
|
<menuitem id="context-bookmarkpage"
|
|
|
|
label="&bookmarkPageCmd.label;"
|
|
|
|
accesskey="&bookmarkPageCmd.accesskey;"
|
|
|
|
oncommand="addBookmarkAs(document.getElementById('content'));"/>
|
|
|
|
<menuitem id="context-savepage"
|
|
|
|
label="&savePageCmd.label;"
|
|
|
|
accesskey="&savePageCmd.accesskey;"
|
|
|
|
oncommand="saveDocument(window._content.document);"/>
|
|
|
|
<menuseparator id="context-sep-viewbgimage"/>
|
|
|
|
<menuitem id="context-viewbgimage"
|
|
|
|
label="&viewBGImageCmd.label;"
|
|
|
|
accesskey="&viewBGImageCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewBGImage();"/>
|
|
|
|
<menuitem id="context-undo"
|
|
|
|
label="&undoCmd.label;"
|
|
|
|
accesskey="&undoCmd.accesskey;"
|
|
|
|
command="cmd_undo"/>
|
|
|
|
<menuseparator id="context-sep-undo"/>
|
|
|
|
<menuitem id="context-cut"
|
|
|
|
label="&cutCmd.label;"
|
|
|
|
accesskey="&cutCmd.accesskey;"
|
|
|
|
command="cmd_cut"/>
|
|
|
|
<menuitem id="context-copy"
|
|
|
|
label="©Cmd.label;"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
|
|
|
command="cmd_copy"/>
|
|
|
|
<menuitem id="context-paste"
|
|
|
|
label="&pasteCmd.label;"
|
|
|
|
accesskey="&pasteCmd.accesskey;"
|
|
|
|
command="cmd_paste"/>
|
|
|
|
<menuitem id="context-delete"
|
|
|
|
label="&deleteCmd.label;"
|
|
|
|
accesskey="&deleteCmd.accesskey;"
|
|
|
|
command="cmd_delete"/>
|
|
|
|
<menuseparator id="context-sep-paste"/>
|
|
|
|
<menuitem id="context-selectall"
|
|
|
|
label="&selectAllCmd.label;"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
|
|
|
command="cmd_selectAll"/>
|
|
|
|
<menuseparator id="context-sep-selectall"/>
|
|
|
|
<menuitem id="context-searchselect"
|
|
|
|
accesskey="&search.accesskey;"
|
|
|
|
oncommand="OpenSearch('internet', false, gContextMenu.searchSelected(), true);"/>
|
|
|
|
<menuseparator id="frame-sep"/>
|
|
|
|
<menu id="frame" label="&thisFrameMenu.label;" accesskey="&thisFrameMenu.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&showOnlyThisFrameCmd.label;"
|
|
|
|
accesskey="&showOnlyThisFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.showOnlyThisFrame();"/>
|
|
|
|
<menuitem label="&openFrameCmd.label;"
|
|
|
|
accesskey="&openFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.openFrame();"/>
|
|
|
|
<menuitem label="&openFrameCmdInTab.label;"
|
|
|
|
accesskey="&openFrameCmdInTab.accesskey;"
|
|
|
|
oncommand="gContextMenu.openFrameInTab();"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&reloadFrameCmd.label;"
|
|
|
|
accesskey="&reloadFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.reloadFrame();"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&bookmarkFrameCmd.label;"
|
|
|
|
accesskey="&bookmarkFrameCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.addBookmarkForFrame();"/>
|
|
|
|
<menuitem label="&saveFrameCmd.label;"
|
|
|
|
accesskey="&saveFrameCmd.accesskey;"
|
|
|
|
oncommand="saveDocument(gContextMenu.target.ownerDocument);"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&viewFrameSourceCmd.label;"
|
|
|
|
accesskey="&viewFrameSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewFrameSource();"/>
|
|
|
|
<menuitem label="&viewFrameInfoCmd.label;"
|
|
|
|
accesskey="&viewFrameInfoCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewFrameInfo();"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator id="context-sep-properties"/>
|
|
|
|
<menuitem id="context-viewpartialsource-selection"
|
|
|
|
label="&viewPartialSourceForSelectionCmd.label;"
|
|
|
|
accesskey="&viewPartialSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewPartialSource('selection');"/>
|
|
|
|
<menuitem id="context-viewpartialsource-mathml"
|
|
|
|
label="&viewPartialSourceForMathMLCmd.label;"
|
|
|
|
accesskey="&viewPartialSourceCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewPartialSource('mathml');"/>
|
|
|
|
<menuitem id="context-viewsource"
|
|
|
|
label="&viewPageSourceCmd.label;"
|
|
|
|
accesskey="&viewPageSourceCmd.accesskey;"
|
|
|
|
oncommand="BrowserViewSourceOfDocument(_content.document);"/>
|
|
|
|
<menuitem id="context-viewinfo"
|
|
|
|
label="&viewPageInfoCmd.label;"
|
|
|
|
accesskey="&viewPageInfoCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.viewInfo();"/>
|
|
|
|
<menuitem id="context-metadata"
|
|
|
|
label="&metadataCmd.label;"
|
|
|
|
accesskey="&metadataCmd.accesskey;"
|
|
|
|
oncommand="gContextMenu.showMetadata();"/>
|
|
|
|
</popup>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-10-07 02:54:24 +04:00
|
|
|
<!-- Total hack. Used by the Go menu to build up items. -->
|
|
|
|
<tree id="hiddenHistoryTree" hidden="true" collapsed="true"
|
|
|
|
datasources="rdf:history" flags="dont-build-content"
|
|
|
|
hidecolumnpicker="true">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<treechildren>
|
|
|
|
<treeitem uri="rdf:*" rdf:type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
|
|
|
|
<treerow>
|
|
|
|
<treecell label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
<treecell label="rdf:http://home.netscape.com/NC-rdf#Date" hidden="true"/>
|
|
|
|
</treerow>
|
|
|
|
</treeitem>
|
|
|
|
</treechildren>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<treecols id="hiddenHistoryTreeCols">
|
|
|
|
<treecol flex="1" id="Name"
|
|
|
|
hideheader="true" primary="true"/>
|
|
|
|
<treecol id="Date" hidden="true" hideheader="true"
|
|
|
|
sort="rdf:http://home.netscape.com/NC-rdf#Date" sortActive="true" sortDirection="descending"/>
|
|
|
|
</treecols>
|
|
|
|
</tree>
|
|
|
|
|
2002-09-30 02:31:50 +04:00
|
|
|
<toolbox id="navigator-toolbox" class="toolbox-top" mode="icons" iconsize="small">
|
2002-08-04 06:53:09 +04:00
|
|
|
<!-- Menu -->
|
|
|
|
<menubar id="main-menubar" class="chromeclass-menubar">
|
2002-08-04 07:16:46 +04:00
|
|
|
<menu label="&fileMenu.label;"
|
2002-08-04 06:53:09 +04:00
|
|
|
accesskey="&fileMenu.accesskey;">
|
2002-08-04 07:29:51 +04:00
|
|
|
<menupopup id="menu_FilePopup" onpopupshowing="getContentAreaFrameCount();">
|
2002-08-04 07:16:46 +04:00
|
|
|
<menuitem label="&newNavigatorCmd.label;"
|
2002-08-04 06:53:09 +04:00
|
|
|
accesskey="&newNavigatorCmd.accesskey;"
|
|
|
|
key="key_newNavigator"
|
|
|
|
command="cmd_newNavigator"/>
|
2002-08-04 07:16:46 +04:00
|
|
|
<menuitem command="cmd_newNavigatorTab" key="key_newNavigatorTab"
|
2002-08-04 06:53:09 +04:00
|
|
|
label="&tabCmd.label;" accesskey="&tabCmd.accesskey;"/>
|
2002-09-20 07:52:36 +04:00
|
|
|
<menuitem label="&openLocationCmd.label;" accesskey="&openLocationCmd.accesskey;" key="focusURLBar" command="Browser:OpenLocation"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuitem label="&openFileCmd.label;" accesskey="&openFileCmd.accesskey;" key="openFileKb" command="Browser:OpenFile"/>
|
2002-08-18 08:50:34 +04:00
|
|
|
<menuitem id="menu_close"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuitem id="menu_closeWindow" hidden="true" command="cmd_closeWindow" key="key_closeWindow" label="&closeWindow.label;"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&savePageCmd.label;" accesskey="&savePageCmd.accesskey;" key="key_savePage" command="Browser:SavePage"/>
|
2002-08-10 06:58:38 +04:00
|
|
|
<menuitem id="menu_saveFrame" label="&saveFrameCmd.label;" accesskey="&saveFrameCmd.accesskey;" oncommand="saveFrameDocument();" hidden="true"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuseparator/>
|
2002-08-04 07:16:46 +04:00
|
|
|
<menuitem label="&printSetupCmd.label;" accesskey="&printSetupCmd.accesskey;" oncommand="BrowserPrintSetup();"/>
|
|
|
|
<menuitem label="&printPreviewCmd.label;" accesskey="&printPreviewCmd.accesskey;" oncommand="BrowserPrintPreview();"/>
|
|
|
|
<menuitem label="&printCmd.label;" accesskey="&printCmd.accesskey;" key="printKb" command="Browser:Print"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
|
|
|
<menu label="&editMenu.label;"
|
|
|
|
accesskey="&editMenu.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&undoCmd.label;"
|
|
|
|
key="key_undo"
|
|
|
|
accesskey="&undoCmd.accesskey;"
|
|
|
|
command="cmd_undo"/>
|
|
|
|
<menuitem label="&redoCmd.label;"
|
|
|
|
key="key_redo"
|
|
|
|
accesskey="&redoCmd.accesskey;"
|
|
|
|
command="cmd_redo"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&cutCmd.label;"
|
|
|
|
key="key_cut"
|
|
|
|
accesskey="&cutCmd.accesskey;"
|
|
|
|
command="cmd_cut"/>
|
|
|
|
<menuitem label="©Cmd.label;"
|
|
|
|
key="key_copy"
|
|
|
|
accesskey="©Cmd.accesskey;"
|
|
|
|
command="cmd_copy"/>
|
|
|
|
<menuitem label="&pasteCmd.label;"
|
|
|
|
key="key_paste"
|
|
|
|
accesskey="&pasteCmd.accesskey;"
|
|
|
|
command="cmd_paste"/>
|
|
|
|
<menuitem label="&deleteCmd.label;"
|
|
|
|
key="key_delete"
|
|
|
|
accesskey="&deleteCmd.accesskey;"
|
|
|
|
command="cmd_delete"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&selectAllCmd.label;"
|
|
|
|
key="key_selectAll"
|
|
|
|
accesskey="&selectAllCmd.accesskey;"
|
|
|
|
command="cmd_selectAll"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&findOnCmd.label;" accesskey="&findOnCmd.accesskey;" key="key_find" command="Browser:Find"/>
|
|
|
|
<menuitem label="&findAgainCmd.label;" accesskey="&findAgainCmd.accesskey;" key="key_findAgain" command="Browser:FindAgain"/>
|
2002-08-04 07:08:49 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&preferencesCmd.label;"
|
2002-08-04 06:53:09 +04:00
|
|
|
accesskey="&preferencesCmd.accesskey;"
|
2002-08-05 09:06:06 +04:00
|
|
|
oncommand="goPreferences('navigator', 'chrome://browser/content/pref/pref-navigator.xul', 'navigator')"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
|
|
|
<menu label="&viewMenu.label;" accesskey="&viewMenu.accesskey;">
|
|
|
|
<menupopup>
|
2002-09-27 08:06:56 +04:00
|
|
|
<menu label="&viewToolbarsMenu.label;" accesskey="&viewToolbarsMenu.accesskey;"
|
|
|
|
onpopupshowing="onViewToolbarsPopupShowing(event);">
|
2002-08-04 06:53:09 +04:00
|
|
|
<menupopup onpopupshowing="updateToolbarStates(this);">
|
2002-09-30 05:58:19 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<menuitem label="&viewCustomizeToolbar.label;" accesskey="&viewCustomizeToolbar.accesskey;"
|
|
|
|
command="cmd_CustomizeToolbars"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
2002-08-05 13:18:01 +04:00
|
|
|
</menu>
|
2002-09-30 05:58:19 +04:00
|
|
|
<menuitem id="toggle_taskbar" label="&taskbarCmd.label;" accesskey="&taskbarCmd.accesskey;" type="checkbox" oncommand="goToggleToolbar('status-bar','toggle_taskbar');" checked="true" />
|
|
|
|
<menu label="&viewSidebarMenu.label;"
|
|
|
|
accesskey="&viewSidebarMenu.accesskey;">
|
|
|
|
<menupopup id="viewSidebarMenu">
|
2002-10-01 04:30:47 +04:00
|
|
|
<menuitem key="key_openDownloadsSidebar" observes="viewDownloadsSidebar"/>
|
|
|
|
<menuitem key="viewBookmarksSidebarKb" observes="viewBookmarksSidebar"/>
|
2002-10-01 00:52:26 +04:00
|
|
|
<menuitem key="key_gotoHistory" observes="viewHistorySidebar"/>
|
2002-09-30 05:58:19 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2002-08-04 07:16:46 +04:00
|
|
|
<menuseparator/>
|
2002-08-09 05:41:39 +04:00
|
|
|
<menuitem label="&stopCmd.label;" accesskey="&stopCmd.accesskey;" command="Browser:Stop" key="key_stop"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuitem accesskey="&reloadCmd.accesskey;" key="key_reload" label="&reloadCmd.label;" oncommand="BrowserReload();"/>
|
2002-08-04 07:16:46 +04:00
|
|
|
<menuseparator/>
|
2002-08-08 05:36:02 +04:00
|
|
|
<menuitem key="key_textZoomEnlarge" label="&textZoomEnlargeCmd.label;" accesskey="&textZoomEnlargeCmd.accesskey;"
|
|
|
|
command="cmd_textZoomEnlarge" observes="isImage"/>
|
|
|
|
<menuitem key="key_textZoomReduce" label="&textZoomReduceCmd.label;" accesskey="&textZoomReduceCmd.accesskey;"
|
|
|
|
command="cmd_textZoomReduce" observes="isImage"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menu observes="isImage"
|
|
|
|
label="&charsetMenu.label;" accesskey="&charsetMenu.accesskey;"
|
|
|
|
datasources="rdf:charset-menu" ref="NC:BrowserCharsetMenuRoot"
|
|
|
|
oncommand="MultiplexHandler(event)" onpopupshowing="CreateMenu('browser');UpdateMenus(event)" onpopupshown="CreateMenu('more-menu');">
|
|
|
|
<template>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator uri="..." />
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem type="radio" name="charsetGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<menupopup>
|
|
|
|
<menu label="&charsetMenuAutodet.label;" accesskey="&charsetMenuAutodet.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserAutodetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#CharsetDetector">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem type="radio" name="detectorGroup" checked="rdf:http://home.netscape.com/NC-rdf#Checked" uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore.label;" accesskey="&charsetMenuMore.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMoreCharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
<menu label="&charsetMenuMore1.label;" accesskey="&charsetMenuMore1.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore1CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore2.label;" accesskey="&charsetMenuMore2.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore2CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore3.label;" accesskey="&charsetMenuMore3.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore3CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore4.label;" accesskey="&charsetMenuMore4.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore4CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menu label="&charsetMenuMore5.label;" accesskey="&charsetMenuMore5.accesskey;" datasources="rdf:charset-menu" ref="NC:BrowserMore5CharsetMenuRoot">
|
|
|
|
<template>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem uri="..." label="rdf:http://home.netscape.com/NC-rdf#Name"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
|
|
|
<menupopup>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuseparator />
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
<menuitem name="charsetCustomize" accesskey="&charsetCustomize.accesskey;" label="&charsetCustomize.label;" oncommand="window.openDialog('chrome://communicator/content/pref/pref-charset.xul','PrefWindow', 'chrome,modal=yes,resizable=yes', 'browser')"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
2002-08-09 05:41:39 +04:00
|
|
|
<menuseparator/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuitem accesskey="&pageSourceCmd.accesskey;" label="&pageSourceCmd.label;" key="key_viewSource" command="View:PageSource"/>
|
|
|
|
<menuitem accesskey="&pageInfoCmd.accesskey;" label="&pageInfoCmd.label;" key="key_viewInfo" command="View:PageInfo"/>
|
2002-09-30 05:58:19 +04:00
|
|
|
<menuseparator/>
|
|
|
|
<menuitem accesskey="&fullScreenCmd.accesskey;"
|
|
|
|
label="&fullScreenCmd.label;" key="key_fullScreen"
|
|
|
|
command="View:FullScreen"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2002-10-07 02:54:24 +04:00
|
|
|
<menu label="&goMenu.label;" accesskey="&goMenu.accesskey;" oncommand="var url = event.target.getAttribute('url'); if (url) openTopWin(url);">
|
|
|
|
<menupopup id="goPopup" onpopupshowing="updateGoMenu(this);" onpopuphiding="onGoMenuHidden();">
|
2002-10-07 01:11:50 +04:00
|
|
|
<menuitem label="&backCmd.label;" accesskey="&backCmd.accesskey;" key="goBackKb" command="Browser:Back"/>
|
|
|
|
<menuitem label="&forwardCmd.label;" accesskey="&forwardCmd.accesskey;" key="goForwardKb" command="Browser:Forward"/>
|
|
|
|
<menuitem label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" command="Browser:Home" key="goHome"/>
|
2002-10-07 02:54:24 +04:00
|
|
|
<menuseparator id="startHistorySeparator"/>
|
|
|
|
<menuseparator hidden="true" id="endHistorySeparator"/>
|
2002-10-07 01:11:50 +04:00
|
|
|
<menuitem accesskey="&historyCmd.accesskey;" command="viewHistorySidebar" key="key_gotoHistory"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2002-09-13 07:15:57 +04:00
|
|
|
<menu id="bookmarks-menu" label="&bookmarksMenu.label;" accesskey="&bookmarksMenu.accesskey;"
|
2002-08-04 06:53:09 +04:00
|
|
|
datasources="rdf:bookmarks rdf:files rdf:localsearch rdf:internetsearch"
|
2002-08-08 07:39:58 +04:00
|
|
|
ref="NC:BookmarksRoot" flags="dont-test-empty"
|
2002-09-13 07:15:57 +04:00
|
|
|
oncommand="BookmarksUtils.loadBookmarkBrowser(event, this.database)"
|
2002-09-23 02:02:27 +04:00
|
|
|
onclick="BookmarksUtils.loadBookmarkBrowserMiddleClick(event, this.database)"
|
2002-09-13 07:15:57 +04:00
|
|
|
ondraggesture="nsDragAndDrop.startDrag(event, personalToolbarDNDObserver)"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, personalToolbarDNDObserver); event.preventBubble()"
|
|
|
|
ondragenter="nsDragAndDrop.dragEnter(event, personalToolbarDNDObserver); event.preventBubble()"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, personalToolbarDNDObserver); event.preventBubble()"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, personalToolbarDNDObserver); event.preventBubble()">
|
2002-08-08 07:39:58 +04:00
|
|
|
<template xmlns:nc="http://home.netscape.com/NC-rdf#">
|
2002-08-04 06:53:09 +04:00
|
|
|
<rule iscontainer="true" isempty="true"
|
|
|
|
rdf:type="http://home.netscape.com/NC-rdf#Folder">
|
|
|
|
<menupopup>
|
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
|
|
|
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&emptyItem.label;" disabled="true"/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule iscontainer="true">
|
|
|
|
<menupopup>
|
|
|
|
<menu class="menu-iconic bookmark-item" uri="rdf:*"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"
|
|
|
|
type="rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#type">
|
|
|
|
<menupopup />
|
|
|
|
</menu>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule rdf:type="http://home.netscape.com/NC-rdf#BookmarkSeparator">
|
|
|
|
<menupopup>
|
|
|
|
<menuseparator uri="rdf:*" />
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
<rule>
|
|
|
|
<menupopup>
|
|
|
|
<menuitem class="menuitem-iconic bookmark-item" uri="rdf:*"
|
|
|
|
label="rdf:http://home.netscape.com/NC-rdf#Name"
|
2002-10-04 04:57:35 +04:00
|
|
|
image="rdf:http://home.netscape.com/NC-rdf#Icon"
|
2002-08-04 06:53:09 +04:00
|
|
|
status="rdf:http://home.netscape.com/WEB-rdf#status"/>
|
|
|
|
</menupopup>
|
|
|
|
</rule>
|
|
|
|
</template>
|
2002-08-04 07:27:11 +04:00
|
|
|
<menupopup>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuitem key="addBookmarkAsKb"
|
|
|
|
label="&addCurPageAsCmd.label;"
|
|
|
|
accesskey="&addCurPageAsCmd.accesskey;"
|
|
|
|
command="Browser:AddBookmarkAs"/>
|
|
|
|
<menuitem key="manBookmarkKb"
|
|
|
|
label="&manBookmarksCmd.label;"
|
|
|
|
accesskey="&manBookmarksCmd.accesskey;"
|
2002-10-01 04:30:47 +04:00
|
|
|
oncommand="BrowserEditBookmarks();"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<menuseparator/>
|
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
2002-08-10 06:58:38 +04:00
|
|
|
<menu label="&tasksMenu.label;" accesskey="&tasksMenu.accesskey;" onpopupshowing="javaItemEnabling();">
|
2002-08-04 06:53:09 +04:00
|
|
|
<menupopup>
|
2002-08-10 06:58:38 +04:00
|
|
|
<menuitem id="java" label="&javaConsoleCmd.label;" accesskey="&javaConsoleCmd.accesskey;" oncommand="toJavaConsole()"/>
|
|
|
|
<menuitem label="&javaScriptConsoleCmd.label;" accesskey="&javaScriptConsoleCmd.accesskey;" oncommand="toJavaScriptConsole();"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
|
|
|
|
<menu label="&helpMenu.label;"
|
|
|
|
accesskey="&helpMenu.accesskey;">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem accesskey="&releaseCmd.accesskey;"
|
|
|
|
label="&releaseCmd.label;"
|
|
|
|
oncommand="openTopWin('&releaseURL;');"/>
|
|
|
|
<menuseparator/>
|
|
|
|
<menuitem accesskey="&aboutCmd.accesskey;"
|
|
|
|
label="&aboutCmd.label;"
|
2002-09-18 06:10:04 +04:00
|
|
|
oncommand="openAboutDialog();"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
</menupopup>
|
|
|
|
</menu>
|
|
|
|
</menubar>
|
|
|
|
|
2002-09-28 10:25:03 +04:00
|
|
|
<toolbarpalette id="BrowserToolbarPalette">
|
2002-09-27 08:06:56 +04:00
|
|
|
<toolbarbutton id="back-button" type="menu-button" class="toolbarbutton-1"
|
|
|
|
label="&backCmd.label;"
|
|
|
|
command="Browser:Back"
|
|
|
|
context="backMenu"
|
|
|
|
tooltiptext="&backButton.tooltip;">
|
|
|
|
<menupopup context="" onpopupshowing="BrowserBackMenu(event);"
|
|
|
|
oncommand="gotoHistoryIndex(event); event.preventBubble();"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="forward-button" type="menu-button" class="toolbarbutton-1"
|
|
|
|
label="&forwardCmd.label;"
|
|
|
|
command="Browser:Forward"
|
|
|
|
context="forwardMenu"
|
|
|
|
tooltiptext="&forwardButton.tooltip;">
|
|
|
|
<menupopup context="" oncommand="gotoHistoryIndex(event); event.preventBubble()"
|
|
|
|
onpopupshowing="BrowserForwardMenu(event);"/>
|
|
|
|
</toolbarbutton>
|
|
|
|
|
|
|
|
<toolbarbutton id="reload-button" class="toolbarbutton-1"
|
|
|
|
label="&reloadCmd.label;"
|
|
|
|
oncommand="if (event.shiftKey) BrowserReloadSkipCache(); else BrowserReload();"
|
|
|
|
tooltiptext="&reloadButton.tooltip;"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="stop-button" class="toolbarbutton-1"
|
|
|
|
label="&stopCmd.label;"
|
|
|
|
command="Browser:Stop"
|
|
|
|
tooltiptext="&stopButton.tooltip;"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="home-button" class="toolbarbutton-1"
|
|
|
|
label="&homeButton.label;"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, homeButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, homeButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, homeButtonObserver);"
|
|
|
|
oncommand="BrowserHome();"/>
|
|
|
|
|
|
|
|
<toolbaritem id="urlbar-container" align="center" flex="1"
|
2002-09-28 19:11:50 +04:00
|
|
|
title="&locationItem.title;" class="chromeclass-location">
|
2002-09-27 08:06:56 +04:00
|
|
|
<textbox id="urlbar" flex="1"
|
2002-09-28 19:11:50 +04:00
|
|
|
type="autocomplete"
|
|
|
|
autocompletesearch="history"
|
|
|
|
autocompletepopup="PopupAutoComplete"
|
|
|
|
tabscrolling="true"
|
|
|
|
showcommentcolumn="true"
|
|
|
|
enablehistory="true"
|
|
|
|
inputtooltiptext="&locationBar.tooltip;"
|
|
|
|
oninput="window.XULBrowserWindow.userTyped.value=true;"
|
|
|
|
ontextentered="return handleURLBarCommand(param);"
|
|
|
|
ontextreverted="return handleURLBarRevert();"
|
2002-09-30 03:18:47 +04:00
|
|
|
onfocus="URLBarFocusHandler(event, this);"
|
|
|
|
onmousedown="URLBarMouseDownHandler(event, this);"
|
|
|
|
onclick="URLBarClickHandler(event, this);">
|
2002-09-27 08:06:56 +04:00
|
|
|
<deck id="page-proxy-deck">
|
|
|
|
<image id="page-proxy-button"
|
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
2002-10-04 11:38:44 +04:00
|
|
|
<image id="page-proxy-favicon"
|
2002-09-27 08:06:56 +04:00
|
|
|
ondraggesture="PageProxyDragGesture(event);"
|
|
|
|
onload="this.parentNode.selectedIndex = 1;
|
|
|
|
event.stopPropagation();
|
|
|
|
event.preventBubble();
|
|
|
|
HandleBookmarkIcon(this.src, true);"
|
|
|
|
onerror="gBrowser.addToMissedIconCache(this.src); HandleBookmarkIcon(this.src, false);"
|
|
|
|
tooltiptext="&proxyIcon.tooltip;"/>
|
|
|
|
</deck>
|
|
|
|
</textbox>
|
|
|
|
</toolbaritem>
|
|
|
|
|
2002-09-28 19:11:50 +04:00
|
|
|
<toolbaritem id="search-container" align="center"
|
|
|
|
title="&searchItem.title;" class="chromeclass-location">
|
2002-09-30 00:06:57 +04:00
|
|
|
<textbox id="search-bar" type="autocomplete" flex="1"
|
|
|
|
autocompletepopup="PopupAutoComplete"
|
|
|
|
autocompletesearch="form-history"
|
|
|
|
tabscrolling="true"
|
2002-09-30 03:18:47 +04:00
|
|
|
onfocus="URLBarFocusHandler(event, this);"
|
|
|
|
onmousedown="URLBarMouseDownHandler(event, this);"
|
|
|
|
onclick="URLBarClickHandler(event, this);"
|
2002-09-30 00:06:57 +04:00
|
|
|
ontextentered="return handleSearchBarCommand(param);"
|
2002-09-30 01:45:09 +04:00
|
|
|
persist="searchmode,autocompletesearchparam">
|
2002-09-30 00:06:57 +04:00
|
|
|
<image id="search-proxy-button" popup="SearchBarPopup"/>
|
|
|
|
</textbox>
|
2002-09-27 08:06:56 +04:00
|
|
|
</toolbaritem>
|
2002-08-05 10:36:06 +04:00
|
|
|
|
2002-09-27 08:06:56 +04:00
|
|
|
<toolbaritem id="go-container" align="center" class="chromeclass-location">
|
|
|
|
<button id="go-button" class="button-toolbar"
|
|
|
|
label="&goButton.label;"
|
|
|
|
oncommand="addToUrlbarHistory(); BrowserLoadURL();"
|
|
|
|
ondragover="nsDragAndDrop.dragOver(event, goButtonObserver);"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, goButtonObserver);"
|
|
|
|
ondragexit="nsDragAndDrop.dragExit(event, goButtonObserver);"
|
|
|
|
tooltiptext="&goButton.tooltip;"/>
|
|
|
|
</toolbaritem>
|
|
|
|
|
|
|
|
<toolbarbutton id="print-button" class="toolbarbutton-1"
|
|
|
|
label="&printButton.label;"
|
|
|
|
oncommand="BrowserPrint();"
|
|
|
|
tooltiptext="&printButton.tooltip;"/>
|
|
|
|
|
2002-09-29 05:23:02 +04:00
|
|
|
<toolbaritem id="throbber-box" align="center" pack="center">
|
2002-09-27 08:06:56 +04:00
|
|
|
<button id="navigator-throbber" oncommand="goClickThrobber('browser.throbber.url')"
|
|
|
|
tooltiptext="&throbber.tooltip;"/>
|
|
|
|
</toolbaritem>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-09-29 02:55:58 +04:00
|
|
|
<toolbaritem id="personal-bookmarks" title="&bookmarksItem.title;" flex="1">
|
|
|
|
<bookmarks-toolbar id="bookmarks-toolbar" flex="1"/>
|
|
|
|
</toolbaritem>
|
|
|
|
|
2002-09-30 05:58:19 +04:00
|
|
|
<toolbarbutton id="downloads-button" class="toolbarbutton-1"
|
|
|
|
observes="viewDownloadsSidebar"
|
2002-09-29 02:55:58 +04:00
|
|
|
tooltiptext="&downloadsButton.tooltip;"/>
|
|
|
|
|
2002-09-30 05:58:19 +04:00
|
|
|
<toolbarbutton id="history-button" class="toolbarbutton-1"
|
|
|
|
observes="viewHistorySidebar"
|
2002-09-29 02:55:58 +04:00
|
|
|
tooltiptext="&historyButton.tooltip;"/>
|
|
|
|
|
2002-09-30 05:58:19 +04:00
|
|
|
<toolbarbutton id="bookmarks-button" class="toolbarbutton-1"
|
|
|
|
observes="viewBookmarksSidebar"
|
2002-09-29 02:55:58 +04:00
|
|
|
tooltiptext="&bookmarksButton.tooltip;"/>
|
2002-09-30 02:02:37 +04:00
|
|
|
|
|
|
|
<toolbarbutton id="new-tab-button" class="toolbarbutton-1"
|
|
|
|
label="&tabCmd.label;"
|
|
|
|
command="cmd_newNavigatorTab"
|
|
|
|
tooltiptext="&newTabButton.tooltip;"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="new-window-button" class="toolbarbutton-1"
|
|
|
|
label="&newNavigatorCmd.label;"
|
|
|
|
command="key_newNavigator"
|
|
|
|
tooltiptext="&newWindowButton.tooltip;"/>
|
|
|
|
|
2002-09-27 08:06:56 +04:00
|
|
|
</toolbarpalette>
|
|
|
|
|
|
|
|
<toolbar id="nav-bar" class="toolbar-primary chromeclass-toolbar"
|
|
|
|
toolbarname="&navbarCmd.label;" accesskey="&navbarCmd.accesskey;"
|
2002-09-30 02:31:50 +04:00
|
|
|
fullscreentoolbar="true" mode="icons" iconsize="small"
|
|
|
|
customizable="true"
|
2002-09-30 00:42:38 +04:00
|
|
|
defaultset="back-button,forward-button,reload-button,stop-button,urlbar-container,search-container"
|
2002-09-27 08:06:56 +04:00
|
|
|
context="toolbar-context-menu">
|
|
|
|
|
|
|
|
<hbox id="window-controls" hidden="true" fullscreencontrol="true">
|
2002-08-04 06:53:09 +04:00
|
|
|
<toolbarbutton id="minimize-button" class="toolbarbutton-1"
|
|
|
|
oncommand="window.minimize();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="restore-button" class="toolbarbutton-1"
|
|
|
|
oncommand="BrowserFullScreen();"/>
|
|
|
|
|
|
|
|
<toolbarbutton id="close-button" class="toolbarbutton-1"
|
|
|
|
oncommand="window.close();"/>
|
|
|
|
</hbox>
|
|
|
|
</toolbar>
|
2002-09-27 08:06:56 +04:00
|
|
|
|
|
|
|
<toolbarset id="customToolbars" context="toolbar-context-menu"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-09-30 23:57:54 +04:00
|
|
|
<toolbar id="PersonalToolbar" class="chromeclass-directories" iconsize="small"
|
|
|
|
customizable="true" defaultset="personal-bookmarks" mode="icons"
|
2002-09-27 08:06:56 +04:00
|
|
|
toolbarname="&personalbarCmd.label;" accesskey="&personalbarCmd.accesskey;"/>
|
|
|
|
|
2002-08-04 06:53:09 +04:00
|
|
|
</toolbox>
|
2002-09-29 02:55:58 +04:00
|
|
|
|
|
|
|
<hbox flex="1">
|
|
|
|
<vbox id="sidebar-box" hidden="true">
|
2002-09-30 07:22:13 +04:00
|
|
|
<sidebarheader align="center">
|
2002-09-29 02:55:58 +04:00
|
|
|
<label id="sidebar-title"/>
|
2002-09-30 08:04:48 +04:00
|
|
|
<spacer flex="1"/>
|
|
|
|
<toolbarbutton class="tabs-closebutton" oncommand="toggleSidebar();"/>
|
2002-09-30 07:22:13 +04:00
|
|
|
</sidebarheader>
|
2002-09-29 02:55:58 +04:00
|
|
|
<browser id="sidebar" flex="1"
|
|
|
|
style="min-width: 150px; width: 200px; max-width: 400px;"/>
|
|
|
|
</vbox>
|
2002-08-04 06:53:09 +04:00
|
|
|
|
2002-09-29 02:55:58 +04:00
|
|
|
<splitter id="sidebar-splitter" hidden="true"/>
|
|
|
|
<!-- we only need to handle |ondragdrop| because everything else is
|
|
|
|
taken care of by the builtin behavior inside the tabbrowser -->
|
|
|
|
<tabbrowser id="content"
|
|
|
|
flex="1" contenttooltip="aHTMLTooltip"
|
|
|
|
contentcontextmenu="contentAreaContextMenu"
|
|
|
|
onnewtab="BrowserOpenTab();"
|
|
|
|
autocompletepopup="PopupAutoComplete"
|
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);"
|
|
|
|
onclick="return contentAreaClick(event);"/>
|
|
|
|
</hbox>
|
2002-08-10 07:49:30 +04:00
|
|
|
<statusbar class="chromeclass-status" id="status-bar"
|
2002-08-04 06:53:09 +04:00
|
|
|
ondragdrop="nsDragAndDrop.drop(event, contentAreaDNDObserver);">
|
2002-08-14 04:22:12 +04:00
|
|
|
<statusbarpanel id="security-button" class="statusbarpanel-iconic"
|
|
|
|
onclick="displayPageInfo()"/>
|
2002-08-25 06:37:10 +04:00
|
|
|
<statusbarpanel id="statusbar-display" flex="1"/>
|
2002-08-04 06:53:09 +04:00
|
|
|
<statusbarpanel class="statusbarpanel-progress">
|
|
|
|
<progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
|
|
|
|
</statusbarpanel>
|
2002-08-08 05:55:38 +04:00
|
|
|
</statusbar>
|
2002-08-04 06:53:09 +04:00
|
|
|
</window>
|