tor-browser

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

sanitize.xhtml (2940B)


      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 <!DOCTYPE window>
      9 
     10 <window
     11  id="SanitizeDialog"
     12  type="child"
     13  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     14  xmlns:html="http://www.w3.org/1999/xhtml"
     15  persist="lastSelected"
     16  data-l10n-id="sanitize-prefs2"
     17  data-l10n-attrs="style"
     18  onload="gSanitizeDialog.init();"
     19 >
     20  <dialog buttons="accept,cancel">
     21    <linkset>
     22      <html:link rel="stylesheet" href="chrome://global/skin/global.css" />
     23      <html:link
     24        rel="stylesheet"
     25        href="chrome://browser/skin/preferences/preferences.css"
     26      />
     27 
     28      <html:link rel="localization" href="browser/sanitize.ftl" />
     29      <html:link rel="localization" href="branding/brand.ftl" />
     30    </linkset>
     31 
     32    <script src="chrome://browser/content/utilityOverlay.js" />
     33    <script src="chrome://global/content/preferencesBindings.js" />
     34 
     35    <keyset>
     36      <key
     37        data-l10n-id="window-close"
     38        modifiers="accel"
     39        oncommand="Preferences.close(event)"
     40      />
     41    </keyset>
     42 
     43    <script src="chrome://browser/content/preferences/dialogs/sanitize.js" />
     44 
     45    <description data-l10n-id="clear-data-settings-label"></description>
     46 
     47    <groupbox>
     48      <label><html:h2 data-l10n-id="history-section-label" /></label>
     49      <hbox>
     50        <vbox data-l10n-id="sanitize-prefs-style" data-l10n-attrs="style">
     51          <checkbox
     52            data-l10n-id="item-history-and-downloads"
     53            preference="privacy.clearOnShutdown.history"
     54          />
     55          <checkbox
     56            data-l10n-id="item-active-logins"
     57            preference="privacy.clearOnShutdown.sessions"
     58          />
     59          <checkbox
     60            data-l10n-id="item-form-search-history"
     61            preference="privacy.clearOnShutdown.formdata"
     62          />
     63        </vbox>
     64        <vbox>
     65          <checkbox
     66            data-l10n-id="item-cookies"
     67            preference="privacy.clearOnShutdown.cookies"
     68          />
     69          <checkbox
     70            data-l10n-id="item-cache"
     71            preference="privacy.clearOnShutdown.cache"
     72          />
     73        </vbox>
     74      </hbox>
     75    </groupbox>
     76    <groupbox>
     77      <label><html:h2 data-l10n-id="data-section-label" /></label>
     78      <hbox>
     79        <vbox data-l10n-id="sanitize-prefs-style" data-l10n-attrs="style">
     80          <checkbox
     81            data-l10n-id="item-site-settings"
     82            preference="privacy.clearOnShutdown.siteSettings"
     83          />
     84        </vbox>
     85        <vbox flex="1">
     86          <checkbox
     87            data-l10n-id="item-offline-apps"
     88            preference="privacy.clearOnShutdown.offlineApps"
     89          />
     90        </vbox>
     91      </hbox>
     92    </groupbox>
     93  </dialog>
     94 </window>