tor-browser

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

dohExceptions.xhtml (2698B)


      1 <?xml version="1.0"?>
      2 
      3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      4   - License, v. 2.0. If a copy of the MPL was not distributed with this
      5   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      6 
      7 <?csp default-src chrome:; style-src chrome: 'unsafe-inline'; ?>
      8 
      9 <window
     10  id="DoHExceptionsDialog"
     11  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     12  xmlns:html="http://www.w3.org/1999/xhtml"
     13  data-l10n-id="permissions-exceptions-doh-window"
     14  data-l10n-attrs="title, style"
     15  persist="width height"
     16 >
     17  <dialog
     18    id="exceptionDialog"
     19    buttons="accept,cancel"
     20    data-l10n-id="permission-dialog"
     21    data-l10n-attrs="buttonlabelaccept, buttonaccesskeyaccept"
     22  >
     23    <linkset>
     24      <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
     25      <html:link
     26        rel="stylesheet"
     27        href="chrome://browser/content/preferences/dialogs/sitePermissions.css"
     28      />
     29      <html:link
     30        rel="stylesheet"
     31        href="chrome://browser/skin/preferences/preferences.css"
     32      />
     33 
     34      <html:link rel="localization" href="branding/brand.ftl" />
     35      <html:link
     36        rel="localization"
     37        href="browser/preferences/permissions.ftl"
     38      />
     39    </linkset>
     40 
     41    <script src="chrome://browser/content/preferences/dialogs/dohExceptions.js" />
     42 
     43    <keyset>
     44      <key
     45        id="key_close"
     46        data-l10n-id="permissions-close-key"
     47        modifiers="accel"
     48      />
     49    </keyset>
     50 
     51    <vbox class="contentPane">
     52      <description
     53        id="dohExceptionText"
     54        control="url"
     55        data-l10n-id="permissions-exceptions-manage-doh-desc"
     56      />
     57      <separator class="thin" />
     58      <label
     59        id="urlLabel"
     60        control="url"
     61        data-l10n-id="permissions-doh-entry-field"
     62      />
     63      <hbox align="start">
     64        <html:input id="url" type="text" style="flex: 1" />
     65      </hbox>
     66      <hbox pack="end">
     67        <button
     68          id="btnAddException"
     69          disabled="true"
     70          data-l10n-id="permissions-doh-add-exception"
     71        />
     72      </hbox>
     73      <separator class="thin" />
     74      <listheader>
     75        <treecol
     76          id="siteCol"
     77          data-l10n-id="permissions-doh-col"
     78          style="flex: 3 3 auto; width: 0"
     79          data-isCurrentSortCol="true"
     80        />
     81      </listheader>
     82      <richlistbox id="permissionsBox" selected="false" />
     83    </vbox>
     84 
     85    <hbox class="actionButtons">
     86      <button
     87        id="removeException"
     88        disabled="true"
     89        data-l10n-id="permissions-doh-remove"
     90      />
     91      <button
     92        id="removeAllExceptions"
     93        data-l10n-id="permissions-doh-remove-all"
     94      />
     95    </hbox>
     96  </dialog>
     97 </window>