2007-03-22 10:30:00 -07:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2012-08-10 13:20:25 -07:00
|
|
|
<!-- -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- -->
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!DOCTYPE overlay [
|
|
|
|
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
|
|
|
|
<!ENTITY % privacyDTD SYSTEM "chrome://browser/locale/preferences/privacy.dtd">
|
|
|
|
%brandDTD;
|
|
|
|
%privacyDTD;
|
|
|
|
]>
|
|
|
|
|
|
|
|
<overlay id="PrivacyPaneOverlay"
|
2009-04-15 13:48:22 -07:00
|
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
xmlns:html="http://www.w3.org/1999/xhtml">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2008-03-24 10:18:38 -07:00
|
|
|
<prefpane id="panePrivacy"
|
|
|
|
onpaneload="gPrivacyPane.init();"
|
|
|
|
helpTopic="prefs-privacy">
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<preferences id="privacyPreferences">
|
2011-03-29 09:23:56 -07:00
|
|
|
|
|
|
|
<!-- Tracking -->
|
|
|
|
<preference id="privacy.donottrackheader.enabled"
|
|
|
|
name="privacy.donottrackheader.enabled"
|
|
|
|
type="bool"/>
|
2012-06-14 14:19:27 -07:00
|
|
|
<preference id="privacy.donottrackheader.value"
|
|
|
|
name="privacy.donottrackheader.value"
|
|
|
|
type="int"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
<!-- XXX button prefs -->
|
|
|
|
<preference id="pref.privacy.disable_button.cookie_exceptions"
|
|
|
|
name="pref.privacy.disable_button.cookie_exceptions"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="pref.privacy.disable_button.view_cookies"
|
|
|
|
name="pref.privacy.disable_button.view_cookies"
|
|
|
|
type="bool"/>
|
|
|
|
|
2008-12-17 23:30:27 -08:00
|
|
|
<!-- Location Bar -->
|
2009-01-21 00:00:04 -08:00
|
|
|
<preference id="browser.urlbar.autocomplete.enabled"
|
|
|
|
name="browser.urlbar.autocomplete.enabled"
|
|
|
|
type="bool"/>
|
|
|
|
<preference id="browser.urlbar.default.behavior"
|
|
|
|
name="browser.urlbar.default.behavior"
|
|
|
|
type="int"
|
|
|
|
onchange="document.getElementById('browser.urlbar.autocomplete.enabled').updateElements();"/>
|
2008-12-17 23:30:27 -08:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<!-- History -->
|
2010-01-15 08:40:14 -08:00
|
|
|
<preference id="places.history.enabled"
|
|
|
|
name="places.history.enabled"
|
|
|
|
type="bool"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
<preference id="browser.formfill.enable"
|
|
|
|
name="browser.formfill.enable"
|
|
|
|
type="bool"/>
|
|
|
|
|
|
|
|
<!-- Cookies -->
|
|
|
|
<preference id="network.cookie.cookieBehavior" name="network.cookie.cookieBehavior" type="int"/>
|
|
|
|
<preference id="network.cookie.lifetimePolicy" name="network.cookie.lifetimePolicy" type="int"/>
|
|
|
|
<preference id="network.cookie.blockFutureCookies" name="network.cookie.blockFutureCookies" type="bool"/>
|
|
|
|
|
|
|
|
<!-- Clear Private Data -->
|
|
|
|
<preference id="privacy.sanitize.sanitizeOnShutdown"
|
|
|
|
name="privacy.sanitize.sanitizeOnShutdown"
|
2009-02-07 04:04:09 -08:00
|
|
|
onchange="gPrivacyPane._updateSanitizeSettingsButton();"
|
2007-03-22 10:30:00 -07:00
|
|
|
type="bool"/>
|
2009-04-15 13:48:22 -07:00
|
|
|
<preference id="privacy.sanitize.timeSpan"
|
|
|
|
name="privacy.sanitize.timeSpan"
|
|
|
|
type="int"/>
|
|
|
|
|
|
|
|
<!-- Private Browsing -->
|
|
|
|
<preference id="browser.privatebrowsing.autostart"
|
|
|
|
name="browser.privatebrowsing.autostart"
|
|
|
|
onchange="gPrivacyPane.updatePrivacyMicroControls();"
|
|
|
|
type="bool"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
</preferences>
|
|
|
|
|
|
|
|
<stringbundle id="bundlePreferences" src="chrome://browser/locale/preferences/preferences.properties"/>
|
|
|
|
|
2009-11-05 05:53:26 -08:00
|
|
|
<script type="application/javascript" src="chrome://browser/content/preferences/privacy.js"/>
|
2007-03-22 10:30:00 -07:00
|
|
|
|
2011-03-29 09:23:56 -07:00
|
|
|
<!-- Tracking -->
|
2013-06-18 14:27:33 -07:00
|
|
|
<groupbox id="trackingGroup" align="start">
|
2011-03-29 09:23:56 -07:00
|
|
|
<caption label="&tracking.label;"/>
|
2012-06-14 14:19:27 -07:00
|
|
|
<radiogroup id="doNotTrackSelection" orient="vertical"
|
|
|
|
preference="privacy.donottrackheader.value"
|
|
|
|
onsynctopreference="return gPrivacyPane.setTrackingPrefs()"
|
|
|
|
onsyncfrompreference="return gPrivacyPane.getTrackingPrefs()">
|
2013-05-20 12:30:32 -07:00
|
|
|
<radio id="dntnotrack" value="1" label="&dntTrackingNotOkay.label2;"
|
2012-06-14 14:19:27 -07:00
|
|
|
accesskey="&dntTrackingNotOkay.accesskey;" />
|
2013-05-20 12:30:32 -07:00
|
|
|
<radio id="dntdotrack" value="0" label="&dntTrackingOkay.label2;"
|
2012-06-14 14:19:27 -07:00
|
|
|
accesskey="&dntTrackingOkay.accesskey;" />
|
2013-05-20 12:30:32 -07:00
|
|
|
<radio id="dntnopref" value="-1" label="&dntTrackingNopref.label2;"
|
2012-06-14 14:19:27 -07:00
|
|
|
accesskey="&dntTrackingNopref.accesskey;" />
|
|
|
|
</radiogroup>
|
|
|
|
<label class="text-link" id="doNotTrackInfo"
|
2013-02-05 01:35:21 -08:00
|
|
|
href="https://www.mozilla.org/dnt"
|
2012-06-14 14:19:27 -07:00
|
|
|
value="&doNotTrackInfo.label;"/>
|
2011-03-29 09:23:56 -07:00
|
|
|
|
|
|
|
</groupbox>
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
<!-- History -->
|
2008-03-07 17:07:48 -08:00
|
|
|
<groupbox id="historyGroup">
|
2007-03-22 10:30:00 -07:00
|
|
|
<caption label="&history.label;"/>
|
|
|
|
|
2009-04-15 13:48:22 -07:00
|
|
|
<hbox align="center">
|
|
|
|
<label id="historyModeLabel"
|
|
|
|
control="historyMode"
|
|
|
|
accesskey="&historyHeader.pre.accesskey;">&historyHeader.pre.label;</label>
|
|
|
|
<menulist id="historyMode"
|
|
|
|
oncommand="gPrivacyPane.updateHistoryModePane();
|
|
|
|
gPrivacyPane.updateHistoryModePrefs();
|
2013-03-06 06:51:00 -08:00
|
|
|
gPrivacyPane.updatePrivacyMicroControls();
|
|
|
|
gPrivacyPane.updateAutostart();">
|
2009-04-15 13:48:22 -07:00
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&historyHeader.remember.label;" value="remember"/>
|
|
|
|
<menuitem label="&historyHeader.dontremember.label;" value="dontremember"/>
|
|
|
|
<menuitem label="&historyHeader.custom.label;" value="custom"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
<label>&historyHeader.post.label;</label>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<deck id="historyPane">
|
|
|
|
<vbox align="center" id="historyRememberPane">
|
|
|
|
<hbox align="center" flex="1">
|
|
|
|
<spacer flex="1" class="indent"/>
|
|
|
|
<vbox flex="2">
|
|
|
|
<description>&rememberDescription.label;</description>
|
|
|
|
<separator/>
|
|
|
|
<description>&rememberActions.pre.label;<html:a
|
2009-05-26 17:00:14 -07:00
|
|
|
class="inline-link" href="#"
|
|
|
|
onclick="gPrivacyPane.clearPrivateDataNow(false); return false;"
|
2009-04-15 13:48:22 -07:00
|
|
|
>&rememberActions.clearHistory.label;</html:a>&rememberActions.middle.label;<html:a
|
2009-05-26 17:00:14 -07:00
|
|
|
class="inline-link" href="#"
|
|
|
|
onclick="gPrivacyPane.showCookies(); return false;"
|
2009-04-15 13:48:22 -07:00
|
|
|
>&rememberActions.removeCookies.label;</html:a>&rememberActions.post.label;</description>
|
|
|
|
</vbox>
|
|
|
|
<spacer flex="1" class="indent"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox align="center" id="historyDontRememberPane">
|
|
|
|
<hbox align="center" flex="1">
|
|
|
|
<spacer flex="1" class="indent"/>
|
|
|
|
<vbox flex="2">
|
|
|
|
<description>&dontrememberDescription.label;</description>
|
|
|
|
<separator/>
|
|
|
|
<description>&dontrememberActions.pre.label;<html:a
|
2009-05-26 17:00:14 -07:00
|
|
|
class="inline-link" href="#"
|
|
|
|
onclick="gPrivacyPane.clearPrivateDataNow(true); return false;"
|
2009-04-15 13:48:22 -07:00
|
|
|
>&dontrememberActions.clearHistory.label;</html:a>&dontrememberActions.post.label;</description>
|
|
|
|
</vbox>
|
|
|
|
<spacer flex="1" class="indent"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
<vbox id="historyCustomPane">
|
|
|
|
<separator class="thin"/>
|
|
|
|
<checkbox id="privateBrowsingAutoStart" class="indent"
|
2011-06-03 12:04:52 -07:00
|
|
|
label="&privateBrowsingPermanent2.label;"
|
|
|
|
accesskey="&privateBrowsingPermanent2.accesskey;"
|
2013-03-06 06:51:00 -08:00
|
|
|
preference="browser.privatebrowsing.autostart"
|
|
|
|
oncommand="gPrivacyPane.updateAutostart()"/>
|
2009-04-15 13:48:22 -07:00
|
|
|
|
|
|
|
<vbox class="indent">
|
|
|
|
<vbox class="indent">
|
2010-01-15 08:40:14 -08:00
|
|
|
<checkbox id="rememberHistory"
|
2012-02-13 12:54:41 -08:00
|
|
|
label="&rememberHistory2.label;"
|
|
|
|
accesskey="&rememberHistory2.accesskey;"
|
2010-01-15 08:40:14 -08:00
|
|
|
preference="places.history.enabled"/>
|
2009-04-15 13:48:22 -07:00
|
|
|
<checkbox id="rememberForms"
|
|
|
|
label="&rememberSearchForm.label;"
|
|
|
|
accesskey="&rememberSearchForm.accesskey;"
|
|
|
|
preference="browser.formfill.enable"/>
|
|
|
|
|
|
|
|
<hbox id="cookiesBox">
|
|
|
|
<checkbox id="acceptCookies" label="&acceptCookies.label;" flex="1"
|
|
|
|
preference="network.cookie.cookieBehavior"
|
|
|
|
accesskey="&acceptCookies.accesskey;"
|
|
|
|
onsyncfrompreference="return gPrivacyPane.readAcceptCookies();"
|
|
|
|
onsynctopreference="return gPrivacyPane.writeAcceptCookies();"/>
|
|
|
|
<button id="cookieExceptions" oncommand="gPrivacyPane.showCookieExceptions();"
|
|
|
|
label="&cookieExceptions.label;" accesskey="&cookieExceptions.accesskey;"
|
|
|
|
preference="pref.privacy.disable_button.cookie_exceptions"/>
|
|
|
|
</hbox>
|
|
|
|
|
2013-02-22 08:16:01 -08:00
|
|
|
<hbox id="acceptThirdPartyRow" class="indent">
|
|
|
|
<hbox id="acceptThirdPartyBox" align="center">
|
|
|
|
<label id="acceptThirdPartyLabel" control="acceptThirdPartyMenu"
|
|
|
|
accesskey="&acceptThirdParty.pre.accesskey;">&acceptThirdParty.pre.label;</label>
|
|
|
|
<menulist id="acceptThirdPartyMenu" preference="network.cookie.cookieBehavior"
|
|
|
|
onsyncfrompreference="return gPrivacyPane.readAcceptThirdPartyCookies();"
|
|
|
|
onsynctopreference="return gPrivacyPane.writeAcceptThirdPartyCookies();">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&acceptThirdParty.always.label;" value="always"/>
|
|
|
|
<menuitem label="&acceptThirdParty.visited.label;" value="visited"/>
|
|
|
|
<menuitem label="&acceptThirdParty.never.label;" value="never"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
</hbox>
|
|
|
|
|
2009-04-15 13:48:22 -07:00
|
|
|
<hbox id="keepRow" class="indent">
|
|
|
|
<hbox id="keepBox" align="center">
|
|
|
|
<label id="keepUntil"
|
|
|
|
control="keepCookiesUntil"
|
|
|
|
accesskey="&keepUntil.accesskey;">&keepUntil.label;</label>
|
|
|
|
<menulist id="keepCookiesUntil"
|
|
|
|
preference="network.cookie.lifetimePolicy">
|
|
|
|
<menupopup>
|
|
|
|
<menuitem label="&expire.label;" value="0"/>
|
|
|
|
<menuitem label="&close.label;" value="2"/>
|
|
|
|
<menuitem label="&askEachTime.label;" value="1"/>
|
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
</hbox>
|
|
|
|
<hbox flex="1"/>
|
|
|
|
<button id="showCookiesButton"
|
|
|
|
label="&showCookies.label;" accesskey="&showCookies.accesskey;"
|
|
|
|
oncommand="gPrivacyPane.showCookies();"
|
|
|
|
preference="pref.privacy.disable_button.view_cookies"/>
|
|
|
|
</hbox>
|
|
|
|
|
|
|
|
<hbox id="clearDataBox" align="center">
|
|
|
|
<checkbox id="alwaysClear" flex="1"
|
|
|
|
preference="privacy.sanitize.sanitizeOnShutdown"
|
|
|
|
label="&clearOnClose.label;"
|
|
|
|
accesskey="&clearOnClose.accesskey;"/>
|
|
|
|
<button id="clearDataSettings" label="&clearOnCloseSettings.label;"
|
|
|
|
accesskey="&clearOnCloseSettings.accesskey;"
|
|
|
|
oncommand="gPrivacyPane.showClearPrivateDataSettings();"/>
|
|
|
|
</hbox>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
</vbox>
|
|
|
|
</deck>
|
|
|
|
|
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
<!-- Location Bar -->
|
|
|
|
<groupbox id="locationBarGroup">
|
|
|
|
<caption label="&locationBar.label;"/>
|
|
|
|
|
2008-12-17 23:30:27 -08:00
|
|
|
<hbox align="center">
|
|
|
|
<label id="locationBarSuggestionLabel"
|
|
|
|
control="locationBarSuggestion"
|
|
|
|
accesskey="&locbar.pre.accessKey;">&locbar.pre.label;</label>
|
|
|
|
<menulist id="locationBarSuggestion"
|
2009-01-21 00:00:04 -08:00
|
|
|
preference="browser.urlbar.autocomplete.enabled"
|
|
|
|
onsyncfrompreference="return gPrivacyPane.readSuggestionPref();"
|
|
|
|
onsynctopreference="return gPrivacyPane.writeSuggestionPref();">
|
2008-12-17 23:30:27 -08:00
|
|
|
<menupopup>
|
2009-01-21 00:00:04 -08:00
|
|
|
<menuitem label="&locbar.both.label;" value="0"/>
|
2008-12-17 23:30:27 -08:00
|
|
|
<menuitem label="&locbar.history.label;" value="1"/>
|
|
|
|
<menuitem label="&locbar.bookmarks.label;" value="2"/>
|
2009-01-21 00:00:04 -08:00
|
|
|
<menuitem label="&locbar.nothing.label;" value="-1"/>
|
2008-12-17 23:30:27 -08:00
|
|
|
</menupopup>
|
|
|
|
</menulist>
|
|
|
|
<label>&locbar.post.label;</label>
|
|
|
|
</hbox>
|
2007-03-22 10:30:00 -07:00
|
|
|
</groupbox>
|
|
|
|
|
|
|
|
</prefpane>
|
|
|
|
|
|
|
|
</overlay>
|