tor-browser

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

tracking_protection_preferences.xml (8890B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
      3   - License, v. 2.0. If a copy of the MPL was not distributed with this
      4   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
      5 <androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
      6    xmlns:app="http://schemas.android.com/apk/res-auto">
      7    <androidx.preference.Preference
      8        android:key="@string/pref_key_etp_learn_more"
      9        android:layout="@layout/tracking_protection_learn_more_preference"
     10        android:summary="@string/preference_enhanced_tracking_protection_explanation_2"
     11        app:allowDividerBelow="false" />
     12    <org.mozilla.fenix.settings.FenixSwitchPreference
     13        android:defaultValue="true"
     14        android:key="@string/pref_key_tracking_protection"
     15        android:summary="@string/preference_enhanced_tracking_protection_summary"
     16        android:title="@string/preference_enhanced_tracking_protection"
     17        app:iconSpaceReserved="false" />
     18    <org.mozilla.fenix.settings.RadioButtonInfoPreference
     19        android:defaultValue="true"
     20        android:dependency="@string/pref_key_tracking_protection"
     21        android:key="@string/pref_key_tracking_protection_standard_option"
     22        android:summary="@string/preference_enhanced_tracking_protection_standard_description_5"
     23        android:title="@string/preference_enhanced_tracking_protection_standard_default_1" />
     24    <org.mozilla.fenix.settings.RadioButtonInfoPreference
     25        android:defaultValue="false"
     26        android:dependency="@string/pref_key_tracking_protection"
     27        android:key="@string/pref_key_tracking_protection_strict_default"
     28        android:summary="@string/preference_enhanced_tracking_protection_strict_description_4"
     29        android:title="@string/preference_enhanced_tracking_protection_strict" />
     30    <androidx.preference.Preference
     31        android:key="@string/pref_key_tracking_protection_strict_allow_list_subheader"
     32        android:title="@string/preference_enhanced_tracking_protection_allow_list_subheader">
     33    </androidx.preference.Preference>
     34    <CheckBoxPreference
     35        android:defaultValue="true"
     36        android:dependency="@string/pref_key_tracking_protection_strict_default"
     37        android:key="@string/pref_key_tracking_protection_strict_allow_list_baseline"
     38        android:title="@string/preference_enhanced_tracking_protection_allow_list_baseline_2"
     39        android:layout="@layout/checkbox_left_preference_etp" />
     40    <CheckBoxPreference
     41        android:defaultValue="false"
     42        android:dependency="@string/pref_key_tracking_protection_strict_allow_list_baseline"
     43        android:key="@string/pref_key_tracking_protection_strict_allow_list_convenience"
     44        android:layout="@layout/checkbox_left_preference_etp"
     45        android:title="@string/preference_enhanced_tracking_protection_allow_list_convenience_label"
     46        android:summary="@string/preference_enhanced_tracking_protection_allow_list_convenience_description" />
     47    <org.mozilla.fenix.settings.RadioButtonInfoPreference
     48        android:defaultValue="false"
     49        android:dependency="@string/pref_key_tracking_protection"
     50        android:key="@string/pref_key_tracking_protection_custom_option"
     51        android:summary="@string/preference_enhanced_tracking_protection_custom_description_2"
     52        android:title="@string/preference_enhanced_tracking_protection_custom" />
     53    <androidx.preference.Preference
     54        android:key="@string/pref_key_tracking_protection_custom_allow_list_subheader"
     55        android:title="@string/preference_enhanced_tracking_protection_allow_list_subheader">
     56    </androidx.preference.Preference>
     57    <CheckBoxPreference
     58        android:defaultValue="true"
     59        android:dependency="@string/pref_key_tracking_protection_custom_option"
     60        android:key="@string/pref_key_tracking_protection_custom_allow_list_baseline"
     61        android:layout="@layout/checkbox_left_preference_etp"
     62        android:title="@string/preference_enhanced_tracking_protection_allow_list_baseline_2" />
     63    <CheckBoxPreference
     64        android:defaultValue="false"
     65        android:dependency="@string/pref_key_tracking_protection_custom_allow_list_baseline"
     66        android:key="@string/pref_key_tracking_protection_custom_allow_list_convenience"
     67        android:layout="@layout/checkbox_left_preference_etp"
     68        android:title="@string/preference_enhanced_tracking_protection_allow_list_convenience_label"
     69        android:summary="@string/preference_enhanced_tracking_protection_allow_list_convenience_description" />
     70    <CheckBoxPreference
     71        android:defaultValue="true"
     72        android:dependency="@string/pref_key_tracking_protection_custom_option"
     73        android:key="@string/pref_key_tracking_protection_custom_cookies"
     74        android:layout="@layout/checkbox_left_preference_etp"
     75        android:title="@string/preference_enhanced_tracking_protection_custom_cookies" />
     76    <org.mozilla.fenix.settings.CustomEtpCookiesOptionsDropDownListPreference
     77        android:defaultValue="@string/social"
     78        android:dependency="@string/pref_key_tracking_protection_custom_cookies"
     79        android:entries="@array/cookies_options_entries"
     80        android:entryValues="@array/cookies_options_entry_values"
     81        android:key="@string/pref_key_tracking_protection_custom_cookies_select"
     82        app:useSimpleSummaryProvider="true" />
     83    <CheckBoxPreference
     84        android:defaultValue="true"
     85        android:dependency="@string/pref_key_tracking_protection_custom_option"
     86        android:key="@string/pref_key_tracking_protection_custom_tracking_content"
     87        android:layout="@layout/checkbox_left_preference_etp"
     88        android:title="@string/preference_enhanced_tracking_protection_custom_tracking_content" />
     89    <org.mozilla.fenix.settings.DropDownListPreference
     90        android:defaultValue="@string/all"
     91        android:dependency="@string/pref_key_tracking_protection_custom_tracking_content"
     92        android:entries="@array/tracking_content_options_entries"
     93        android:entryValues="@array/tracking_content_options_entry_values"
     94        android:key="@string/pref_key_tracking_protection_custom_tracking_content_select"
     95        app:useSimpleSummaryProvider="true" />
     96    <CheckBoxPreference
     97        android:defaultValue="true"
     98        android:dependency="@string/pref_key_tracking_protection_custom_option"
     99        android:key="@string/pref_key_tracking_protection_custom_cryptominers"
    100        android:layout="@layout/checkbox_left_preference_etp"
    101        android:title="@string/preference_enhanced_tracking_protection_custom_cryptominers" />
    102    <CheckBoxPreference
    103        android:defaultValue="true"
    104        android:dependency="@string/pref_key_tracking_protection_custom_option"
    105        android:key="@string/pref_key_tracking_protection_custom_fingerprinters"
    106        android:layout="@layout/checkbox_left_preference_etp"
    107        android:title="@string/preference_enhanced_tracking_protection_custom_known_fingerprinters" />
    108    <CheckBoxPreference
    109        android:defaultValue="true"
    110        android:dependency="@string/pref_key_tracking_protection_custom_option"
    111        android:key="@string/pref_key_tracking_protection_redirect_trackers"
    112        android:layout="@layout/checkbox_left_preference_etp"
    113        android:title="@string/etp_redirect_trackers_title" />
    114    <CheckBoxPreference
    115        android:defaultValue="true"
    116        android:dependency="@string/pref_key_tracking_protection_custom_option"
    117        android:key="@string/pref_key_tracking_protection_suspected_fingerprinters"
    118        android:layout="@layout/checkbox_left_preference_etp"
    119        android:title="@string/etp_suspected_fingerprinters_title" />
    120    <org.mozilla.fenix.settings.DropDownListPreference
    121        android:defaultValue="@string/private_string"
    122        android:dependency="@string/pref_key_tracking_protection_suspected_fingerprinters"
    123        android:entries="@array/tracking_content_options_entries"
    124        android:entryValues="@array/suspected_fingerprinters_entry_values"
    125        android:key="@string/pref_key_tracking_protection_suspected_fingerprinters_select"
    126        app:useSimpleSummaryProvider="true" />
    127    <androidx.preference.SwitchPreference
    128        android:defaultValue="false"
    129        android:key="@string/pref_key_privacy_enable_global_privacy_control"
    130        android:title="@string/preference_enhanced_tracking_protection_custom_global_privacy_control" />
    131    <Preference
    132        android:layout="@layout/preference_divider"
    133        android:selectable="false" />
    134    <Preference
    135        android:icon="@drawable/ic_internet"
    136        android:key="@string/pref_key_tracking_protection_exceptions"
    137        android:layout="@layout/preference_no_widget"
    138        android:title="@string/preferences_tracking_protection_exceptions" />
    139 </androidx.preference.PreferenceScreen>