tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

webext-panels.xhtml (2471B)


      1 <?xml version="1.0"?>
      2 
      3 # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
      4 # This Source Code Form is subject to the terms of the Mozilla Public
      5 # License, v. 2.0. If a copy of the MPL was not distributed with this
      6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      7 
      8 <?csp default-src chrome:; img-src chrome: data:; ?>
      9 
     10 <window id="webextpanels-window"
     11        xmlns:html="http://www.w3.org/1999/xhtml"
     12        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     13  <script src="chrome://global/content/contentAreaUtils.js"/>
     14  <script src="chrome://browser/content/browser.js"/>
     15  <script src="chrome://browser/content/places/browserPlacesViews.js"/>
     16  <script src="chrome://browser/content/browser-places.js"/>
     17  <script src="chrome://browser/content/webext-panels.js"/>
     18  <script src="chrome://global/content/globalOverlay.js"/>
     19  <script src="chrome://browser/content/utilityOverlay.js"/>
     20  <script src="chrome://global/content/editMenuOverlay.js"/>
     21 
     22  <linkset>
     23    <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
     24    <html:link
     25      rel="stylesheet"
     26      href="chrome://browser/content/usercontext/usercontext.css"
     27    />
     28    <html:link rel="stylesheet" href="chrome://browser/content/webext-panels.css"/>
     29 
     30    <html:link rel="localization" href="toolkit/branding/brandings.ftl"/>
     31    <html:link rel="localization" href="toolkit/global/textActions.ftl"/>
     32    <html:link rel="localization" href="browser/browserContext.ftl"/>
     33    <html:link rel="localization" href="browser/translations.ftl"/>
     34    <html:link rel="localization" href="browser/sidebar.ftl"/>
     35  </linkset>
     36 
     37  <!-- nsContextMenu.initNavigationItems expects these elements -->
     38  <commandset id="mainCommandset">
     39    <command id="Browser:Stop" disabled="true" />
     40    <command id="Browser:Reload" disabled="true" />
     41  </commandset>
     42 
     43  <popupset id="mainPopupSet">
     44    <tooltip id="aHTMLTooltip" page="true"/>
     45 
     46    <panel is="autocomplete-richlistbox-popup"
     47           type="autocomplete-richlistbox"
     48           id="PopupAutoComplete"
     49           noautofocus="true"
     50           hidden="true"
     51           overflowpadding="4"
     52           norolluponanchor="true" />
     53 
     54    <menupopup id="contentAreaContextMenu"
     55 # read by macOS cocoa code to enable the "services" menu here:
     56             showservicesmenu="true">
     57 #include browser-context.inc
     58    </menupopup>
     59  </popupset>
     60  <html:sidebar-panel-header id="sidebar-panel-header"/>
     61 </window>