Files
tubestation/waterfox/browser/components/tabfeatures/content/tabfeatures.xhtml
Alex Kontos 2a33ecf02a refactor: tab features
* support for `browser.newtab.url`
2025-11-06 14:13:31 +00:00

40 lines
1.8 KiB
HTML

#filter substitution
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<overlay id="tabfeature-overlay" xmlns:html="http://www.w3.org/1999/xhtml"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<popupset id="mainPopupSet">
<menupopup id="tabContextMenu">
<menuitem id="context_copyTabUrl" class="tabFeature"
data-lazy-l10n-id="copy-url" preference="browser.tabs.copyurl" />
<menuitem id="context_copyAllTabUrls" class="tabFeature"
data-lazy-l10n-id="copy-all-urls" preference="browser.tabs.copyallurls"
insertafter="context_copyTabUrl" />
<menuitem id="context_unloadTab" class="tabFeature"
data-lazy-l10n-id="unload-tab"
preference="browser.tabs.unloadTab" insertafter="context_copyAllTabUrls" />
</menupopup>
</popupset>
#ifdef XP_MACOSX
<menubar id="main-menubar">
<menuitem id="app_restartBrowser" class="tabFeature"
data-l10n-id="appmenuitem-restart-browser" preference="browser.restart_menu.showpanelmenubtn" hidden="true"
insertafter="goOfflineMenuitem" />
</menubar>
#else
<html:template id="appMenu-viewCache">
<panelview id="appMenu-mainView">
<vbox class="panel-subview-body">
<toolbarbutton id="appMenu-restart-button" class="subviewbutton subviewbutton-iconic tabFeature"
data-l10n-id="appmenuitem-restart-browser"
preference="browser.restart_menu.showpanelmenubtn" hidden="true"
insertbefore="appMenu-quit-button2" />
</vbox>
</panelview>
</html:template>
#endif
</overlay>