browser/components/preferences/sanitize.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     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/. -->
     8 <?xml-stylesheet href="chrome://global/skin/"?>
     9 <?xml-stylesheet href="chrome://browser/skin/preferences/preferences.css" type="text/css"?> 
    11 <!DOCTYPE dialog [
    12   <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
    13   <!ENTITY % sanitizeDTD SYSTEM "chrome://browser/locale/sanitize.dtd">
    14   %brandDTD;
    15   %sanitizeDTD;
    16 ]>
    18 <prefwindow id="SanitizeDialog" type="child"
    19             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    20             dlgbuttons="accept,cancel,help"
    21             ondialoghelp="openPrefsHelp()"
    22             style="width: &dialog.width2;;"
    23             title="&sanitizePrefs2.title;"
    24             onload="gSanitizeDialog.onClearHistoryChanged();">
    26   <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
    27   <script type="application/javascript" src="chrome://browser/content/preferences/sanitize.js"/>
    29   <prefpane id="SanitizeDialogPane"
    30             helpTopic="prefs-clear-private-data">
    32     <preferences>
    33       <preference id="privacy.clearOnShutdown.history"               name="privacy.clearOnShutdown.history"               type="bool"
    34                   onchange="return gSanitizeDialog.onClearHistoryChanged();"/>
    35       <preference id="privacy.clearOnShutdown.formdata"              name="privacy.clearOnShutdown.formdata"              type="bool"/>
    36       <preference id="privacy.clearOnShutdown.passwords"             name="privacy.clearOnShutdown.passwords"             type="bool"/>
    37       <preference id="privacy.clearOnShutdown.downloads"             name="privacy.clearOnShutdown.downloads"             type="bool"/>
    38       <preference id="privacy.clearOnShutdown.cookies"               name="privacy.clearOnShutdown.cookies"               type="bool"/>
    39       <preference id="privacy.clearOnShutdown.cache"                 name="privacy.clearOnShutdown.cache"                 type="bool"/>
    40       <preference id="privacy.clearOnShutdown.offlineApps"           name="privacy.clearOnShutdown.offlineApps"           type="bool"/>
    41       <preference id="privacy.clearOnShutdown.sessions"              name="privacy.clearOnShutdown.sessions"              type="bool"/>
    42       <preference id="privacy.clearOnShutdown.siteSettings"          name="privacy.clearOnShutdown.siteSettings"          type="bool"/>
    43     </preferences>
    45     <description>&clearDataSettings2.label;</description>
    47     <groupbox orient="horizontal">
    48       <caption label="&historySection.label;"/>
    49       <grid flex="1">
    50         <columns>
    51           <column style="width: &column.width2;"/>
    52           <column flex="1"/>
    53         </columns>
    54         <rows>
    55           <row>
    56             <checkbox label="&itemHistoryAndDownloads.label;"
    57                       accesskey="&itemHistoryAndDownloads.accesskey;"
    58                       preference="privacy.clearOnShutdown.history"/>
    59             <checkbox label="&itemCookies.label;"
    60                       accesskey="&itemCookies.accesskey;"
    61                       preference="privacy.clearOnShutdown.cookies"/>
    62           </row>
    63           <row>
    64             <checkbox label="&itemActiveLogins.label;"
    65                       accesskey="&itemActiveLogins.accesskey;"
    66                       preference="privacy.clearOnShutdown.sessions"/>
    67             <checkbox label="&itemCache.label;"
    68                       accesskey="&itemCache.accesskey;"
    69                       preference="privacy.clearOnShutdown.cache"/>
    70           </row>
    71           <row>
    72             <checkbox label="&itemFormSearchHistory.label;"
    73                       accesskey="&itemFormSearchHistory.accesskey;"
    74                       preference="privacy.clearOnShutdown.formdata"/>
    75           </row>
    76         </rows>
    77       </grid>
    78     </groupbox>
    79     <groupbox orient="horizontal">
    80       <caption label="&dataSection.label;"/>
    81       <grid flex="1">
    82         <columns>
    83           <column style="width: &column.width2;"/>
    84           <column flex="1"/>
    85         </columns>
    86         <rows>
    87           <row>
    88             <checkbox label="&itemPasswords.label;"
    89                       accesskey="&itemPasswords.accesskey;"
    90                       preference="privacy.clearOnShutdown.passwords"/>
    91             <checkbox label="&itemOfflineApps.label;"
    92                       accesskey="&itemOfflineApps.accesskey;"
    93                       preference="privacy.clearOnShutdown.offlineApps"/>
    94           </row>
    95           <row>
    96             <checkbox label="&itemSitePreferences.label;"
    97                       accesskey="&itemSitePreferences.accesskey;"
    98                       preference="privacy.clearOnShutdown.siteSettings"/>
    99           </row>
   100         </rows>
   101       </grid>
   102     </groupbox>
   103   </prefpane>
   104 </prefwindow>

mercurial