summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/pref/content/pref-security.xul
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:32:43 +0000
commit6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/components/pref/content/pref-security.xul
parentInitial commit. (diff)
downloadthunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz
thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--comm/suite/components/pref/content/pref-security.xul108
1 files changed, 108 insertions, 0 deletions
diff --git a/comm/suite/components/pref/content/pref-security.xul b/comm/suite/components/pref/content/pref-security.xul
new file mode 100644
index 0000000000..6823df7f9e
--- /dev/null
+++ b/comm/suite/components/pref/content/pref-security.xul
@@ -0,0 +1,108 @@
+<?xml version="1.0"?>
+
+<!-- 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/. -->
+
+<!DOCTYPE overlay [
+<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
+%brandDTD;
+<!ENTITY % prefSecurityDTD SYSTEM "chrome://communicator/locale/pref/pref-security.dtd">
+%prefSecurityDTD;
+]>
+
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+ <prefpane id="security_pane" label="&pref.security.title;"
+ script="chrome://communicator/content/pref/pref-security.js">
+ <preferences id="security_preferences">
+ <!-- User Tracking -->
+ <preference id="privacy.donottrackheader.enabled"
+ name="privacy.donottrackheader.enabled"
+ type="bool"/>
+ <preference id="privacy.trackingprotection.enabled"
+ name="privacy.trackingprotection.enabled"
+ type="bool"
+ onchange="SetWarnTrackEnabled(this.value);"/>
+ <preference id="privacy.warn_tracking_content"
+ name="privacy.warn_tracking_content"
+ type="bool"/>
+
+ <!-- Location Aware Browsing -->
+ <preference id="geo.enabled"
+ name="geo.enabled"
+ type="bool"/>
+
+ <!-- Safe Browsing -->
+ <preference id="browser.safebrowsing.malware.enabled"
+ name="browser.safebrowsing.malware.enabled"
+ type="bool"/>
+ <preference id="browser.safebrowsing.phishing.enabled"
+ name="browser.safebrowsing.phishing.enabled"
+ type="bool"/>
+
+ <preference id="accessibility.blockautorefresh"
+ name="accessibility.blockautorefresh"
+ type="bool"/>
+ </preferences>
+
+ <!-- User Tracking -->
+ <groupbox id="trackingGroup">
+ <caption label="&tracking.label;"/>
+
+ <description>&trackingIntro.label;</description>
+ <checkbox id="doNotTrack"
+ label="&doNotTrack.label;"
+ accesskey="&doNotTrack.accesskey;"
+ preference="privacy.donottrackheader.enabled"/>
+ <checkbox id="trackProtect"
+ label="&trackProtect.label;"
+ accesskey="&trackProtect.accesskey;"
+ preference="privacy.trackingprotection.enabled"/>
+ <checkbox id="warnTrackContent"
+ class="indent"
+ label="&warnTrackContent.label;"
+ accesskey="&warnTrackContent.accesskey;"
+ preference="privacy.warn_tracking_content"/>
+ </groupbox>
+
+ <!-- Location Aware Browsing -->
+ <groupbox id="geoLocationGroup">
+ <caption label="&geoLocation.label;"/>
+
+ <description>&geoIntro.label;</description>
+ <radiogroup id="geoSelection"
+ preference="geo.enabled">
+ <radio id="geoEnabled"
+ value="true"
+ label="&geoEnabled.label;"
+ accesskey="&geoEnabled.accesskey;"/>
+ <radio id="geoDisabled"
+ value="false"
+ label="&geoDisabled.label;"
+ accesskey="&geoDisabled.accesskey;"/>
+ </radiogroup>
+ </groupbox>
+
+ <!-- Safe Browsing -->
+ <groupbox id="safeBrowsingGroup">
+ <caption label="&safeBrowsing.label;"/>
+
+ <description>&safeBrowsingIntro.label;</description>
+ <checkbox id="blockAttackSites"
+ label="&blockAttackSites.label;"
+ accesskey="&blockAttackSites.accesskey;"
+ preference="browser.safebrowsing.malware.enabled"/>
+ <checkbox id="blockWebForgeries"
+ label="&blockWebForgeries.label;"
+ accesskey="&blockWebForgeries.accesskey;"
+ preference="browser.safebrowsing.phishing.enabled"/>
+ </groupbox>
+
+ <vbox class="box-padded" align="start">
+ <checkbox id="blockAutoRefresh"
+ label="&blockAutoRefresh.label;"
+ accesskey="&blockAutoRefresh.accesskey;"
+ preference="accessibility.blockautorefresh"/>
+ </vbox>
+ </prefpane>
+</overlay>