Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
michael@0 | 4 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 5 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 6 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 7 | |
michael@0 | 8 | <?xml-stylesheet href="chrome://global/skin/"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://browser/skin/sanitizeDialog.css"?> |
michael@0 | 10 | |
michael@0 | 11 | #ifdef CRH_DIALOG_TREE_VIEW |
michael@0 | 12 | <?xml-stylesheet href="chrome://browser/skin/places/places.css"?> |
michael@0 | 13 | #endif |
michael@0 | 14 | |
michael@0 | 15 | <?xml-stylesheet href="chrome://browser/content/sanitizeDialog.css"?> |
michael@0 | 16 | |
michael@0 | 17 | <!DOCTYPE prefwindow [ |
michael@0 | 18 | <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> |
michael@0 | 19 | <!ENTITY % sanitizeDTD SYSTEM "chrome://browser/locale/sanitize.dtd"> |
michael@0 | 20 | %brandDTD; |
michael@0 | 21 | %sanitizeDTD; |
michael@0 | 22 | ]> |
michael@0 | 23 | |
michael@0 | 24 | <prefwindow id="SanitizeDialog" type="child" |
michael@0 | 25 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 26 | dlgbuttons="accept,cancel" |
michael@0 | 27 | title="&sanitizeDialog2.title;" |
michael@0 | 28 | noneverythingtitle="&sanitizeDialog2.title;" |
michael@0 | 29 | style="width: &dialog.width2;;" |
michael@0 | 30 | ondialogaccept="return gSanitizePromptDialog.sanitize();"> |
michael@0 | 31 | |
michael@0 | 32 | <prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();"> |
michael@0 | 33 | <stringbundle id="bundleBrowser" |
michael@0 | 34 | src="chrome://browser/locale/browser.properties"/> |
michael@0 | 35 | |
michael@0 | 36 | <script type="application/javascript" |
michael@0 | 37 | src="chrome://browser/content/sanitize.js"/> |
michael@0 | 38 | |
michael@0 | 39 | #ifdef CRH_DIALOG_TREE_VIEW |
michael@0 | 40 | <script type="application/javascript" |
michael@0 | 41 | src="chrome://global/content/globalOverlay.js"/> |
michael@0 | 42 | <script type="application/javascript" |
michael@0 | 43 | src="chrome://browser/content/places/treeView.js"/> |
michael@0 | 44 | <script type="application/javascript"><![CDATA[ |
michael@0 | 45 | Components.utils.import("resource://gre/modules/PlacesUtils.jsm"); |
michael@0 | 46 | Components.utils.import("resource:///modules/PlacesUIUtils.jsm"); |
michael@0 | 47 | ]]></script> |
michael@0 | 48 | #endif |
michael@0 | 49 | |
michael@0 | 50 | <script type="application/javascript" |
michael@0 | 51 | src="chrome://browser/content/sanitizeDialog.js"/> |
michael@0 | 52 | |
michael@0 | 53 | <preferences id="sanitizePreferences"> |
michael@0 | 54 | <preference id="privacy.cpd.history" name="privacy.cpd.history" type="bool"/> |
michael@0 | 55 | <preference id="privacy.cpd.formdata" name="privacy.cpd.formdata" type="bool"/> |
michael@0 | 56 | <preference id="privacy.cpd.downloads" name="privacy.cpd.downloads" type="bool" disabled="true"/> |
michael@0 | 57 | <preference id="privacy.cpd.cookies" name="privacy.cpd.cookies" type="bool"/> |
michael@0 | 58 | <preference id="privacy.cpd.cache" name="privacy.cpd.cache" type="bool"/> |
michael@0 | 59 | <preference id="privacy.cpd.sessions" name="privacy.cpd.sessions" type="bool"/> |
michael@0 | 60 | <preference id="privacy.cpd.offlineApps" name="privacy.cpd.offlineApps" type="bool"/> |
michael@0 | 61 | <preference id="privacy.cpd.siteSettings" name="privacy.cpd.siteSettings" type="bool"/> |
michael@0 | 62 | </preferences> |
michael@0 | 63 | |
michael@0 | 64 | <preferences id="nonItemPreferences"> |
michael@0 | 65 | <preference id="privacy.sanitize.timeSpan" |
michael@0 | 66 | name="privacy.sanitize.timeSpan" |
michael@0 | 67 | type="int"/> |
michael@0 | 68 | </preferences> |
michael@0 | 69 | |
michael@0 | 70 | <hbox id="SanitizeDurationBox" align="center"> |
michael@0 | 71 | <label value="&clearTimeDuration.label;" |
michael@0 | 72 | accesskey="&clearTimeDuration.accesskey;" |
michael@0 | 73 | control="sanitizeDurationChoice" |
michael@0 | 74 | id="sanitizeDurationLabel"/> |
michael@0 | 75 | <menulist id="sanitizeDurationChoice" |
michael@0 | 76 | preference="privacy.sanitize.timeSpan" |
michael@0 | 77 | onselect="gSanitizePromptDialog.selectByTimespan();" |
michael@0 | 78 | flex="1"> |
michael@0 | 79 | <menupopup id="sanitizeDurationPopup"> |
michael@0 | 80 | #ifdef CRH_DIALOG_TREE_VIEW |
michael@0 | 81 | <menuitem label="" value="-1" id="sanitizeDurationCustom"/> |
michael@0 | 82 | #endif |
michael@0 | 83 | <menuitem label="&clearTimeDuration.lastHour;" value="1"/> |
michael@0 | 84 | <menuitem label="&clearTimeDuration.last2Hours;" value="2"/> |
michael@0 | 85 | <menuitem label="&clearTimeDuration.last4Hours;" value="3"/> |
michael@0 | 86 | <menuitem label="&clearTimeDuration.today;" value="4"/> |
michael@0 | 87 | <menuseparator/> |
michael@0 | 88 | <menuitem label="&clearTimeDuration.everything;" value="0"/> |
michael@0 | 89 | </menupopup> |
michael@0 | 90 | </menulist> |
michael@0 | 91 | <label id="sanitizeDurationSuffixLabel" |
michael@0 | 92 | value="&clearTimeDuration.suffix;"/> |
michael@0 | 93 | </hbox> |
michael@0 | 94 | |
michael@0 | 95 | <separator class="thin"/> |
michael@0 | 96 | |
michael@0 | 97 | #ifdef CRH_DIALOG_TREE_VIEW |
michael@0 | 98 | <deck id="durationDeck"> |
michael@0 | 99 | <tree id="placesTree" flex="1" hidecolumnpicker="true" rows="10" |
michael@0 | 100 | disabled="true" disableKeyNavigation="true"> |
michael@0 | 101 | <treecols> |
michael@0 | 102 | <treecol id="date" label="&clearTimeDuration.dateColumn;" flex="1"/> |
michael@0 | 103 | <splitter class="tree-splitter"/> |
michael@0 | 104 | <treecol id="title" label="&clearTimeDuration.nameColumn;" flex="5"/> |
michael@0 | 105 | </treecols> |
michael@0 | 106 | <treechildren id="placesTreechildren" |
michael@0 | 107 | ondragstart="gSanitizePromptDialog.grippyMoved('ondragstart', event);" |
michael@0 | 108 | ondragover="gSanitizePromptDialog.grippyMoved('ondragover', event);" |
michael@0 | 109 | onkeypress="gSanitizePromptDialog.grippyMoved('onkeypress', event);" |
michael@0 | 110 | onmousedown="gSanitizePromptDialog.grippyMoved('onmousedown', event);"/> |
michael@0 | 111 | </tree> |
michael@0 | 112 | #endif |
michael@0 | 113 | |
michael@0 | 114 | <vbox id="sanitizeEverythingWarningBox"> |
michael@0 | 115 | <spacer flex="1"/> |
michael@0 | 116 | <hbox align="center"> |
michael@0 | 117 | <image id="sanitizeEverythingWarningIcon"/> |
michael@0 | 118 | <vbox id="sanitizeEverythingWarningDescBox" flex="1"> |
michael@0 | 119 | <description id="sanitizeEverythingWarning"/> |
michael@0 | 120 | <description id="sanitizeEverythingUndoWarning">&sanitizeEverythingUndoWarning;</description> |
michael@0 | 121 | </vbox> |
michael@0 | 122 | </hbox> |
michael@0 | 123 | <spacer flex="1"/> |
michael@0 | 124 | </vbox> |
michael@0 | 125 | |
michael@0 | 126 | #ifdef CRH_DIALOG_TREE_VIEW |
michael@0 | 127 | </deck> |
michael@0 | 128 | #endif |
michael@0 | 129 | |
michael@0 | 130 | <separator class="thin"/> |
michael@0 | 131 | |
michael@0 | 132 | <hbox id="detailsExpanderWrapper" align="center"> |
michael@0 | 133 | <button type="image" |
michael@0 | 134 | id="detailsExpander" |
michael@0 | 135 | class="expander-down" |
michael@0 | 136 | persist="class" |
michael@0 | 137 | oncommand="gSanitizePromptDialog.toggleItemList();"/> |
michael@0 | 138 | <label id="detailsExpanderLabel" |
michael@0 | 139 | value="&detailsProgressiveDisclosure.label;" |
michael@0 | 140 | accesskey="&detailsProgressiveDisclosure.accesskey;" |
michael@0 | 141 | control="detailsExpander"/> |
michael@0 | 142 | </hbox> |
michael@0 | 143 | <listbox id="itemList" rows="7" collapsed="true" persist="collapsed"> |
michael@0 | 144 | <listitem label="&itemHistoryAndDownloads.label;" |
michael@0 | 145 | type="checkbox" |
michael@0 | 146 | accesskey="&itemHistoryAndDownloads.accesskey;" |
michael@0 | 147 | preference="privacy.cpd.history" |
michael@0 | 148 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 149 | <listitem label="&itemFormSearchHistory.label;" |
michael@0 | 150 | type="checkbox" |
michael@0 | 151 | accesskey="&itemFormSearchHistory.accesskey;" |
michael@0 | 152 | preference="privacy.cpd.formdata" |
michael@0 | 153 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 154 | <listitem label="&itemCookies.label;" |
michael@0 | 155 | type="checkbox" |
michael@0 | 156 | accesskey="&itemCookies.accesskey;" |
michael@0 | 157 | preference="privacy.cpd.cookies" |
michael@0 | 158 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 159 | <listitem label="&itemCache.label;" |
michael@0 | 160 | type="checkbox" |
michael@0 | 161 | accesskey="&itemCache.accesskey;" |
michael@0 | 162 | preference="privacy.cpd.cache" |
michael@0 | 163 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 164 | <listitem label="&itemActiveLogins.label;" |
michael@0 | 165 | type="checkbox" |
michael@0 | 166 | accesskey="&itemActiveLogins.accesskey;" |
michael@0 | 167 | preference="privacy.cpd.sessions" |
michael@0 | 168 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 169 | <listitem label="&itemOfflineApps.label;" |
michael@0 | 170 | type="checkbox" |
michael@0 | 171 | accesskey="&itemOfflineApps.accesskey;" |
michael@0 | 172 | preference="privacy.cpd.offlineApps" |
michael@0 | 173 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 174 | <listitem label="&itemSitePreferences.label;" |
michael@0 | 175 | type="checkbox" |
michael@0 | 176 | accesskey="&itemSitePreferences.accesskey;" |
michael@0 | 177 | preference="privacy.cpd.siteSettings" |
michael@0 | 178 | noduration="true" |
michael@0 | 179 | onsyncfrompreference="return gSanitizePromptDialog.onReadGeneric();"/> |
michael@0 | 180 | </listbox> |
michael@0 | 181 | |
michael@0 | 182 | </prefpane> |
michael@0 | 183 | </prefwindow> |