1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2019 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
21 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
24 android:title="@string/privacy" >
27 android:key="javascript"
28 android:title="@string/javascript_preference"
29 android:summary="@string/javascript_preference_summary"
30 android:defaultValue="false" />
33 android:key="first_party_cookies"
34 android:title="@string/first_party_cookies_preference"
35 android:summary="@string/first_party_cookies_preference_summary"
36 android:defaultValue="false" />
39 android:key="third_party_cookies"
40 android:title="@string/third_party_cookies_preference"
41 android:summary="@string/third_party_cookies_summary"
42 android:defaultValue="false" />
45 android:key="dom_storage"
46 android:title="@string/dom_storage_preference"
47 android:summary="@string/dom_storage_preference_summary"
48 android:defaultValue="false" />
50 <!-- Save form data can be removed once the minimum API >= 26. -->
52 android:key="save_form_data"
53 android:title="@string/save_form_data_preference"
54 android:summary="@string/save_form_data_preference_summary"
55 android:defaultValue="false" />
58 android:key="user_agent"
59 android:title="@string/user_agent"
60 android:entries="@array/translated_user_agent_names"
61 android:entryValues="@array/user_agent_names"
62 android:defaultValue="@string/user_agent_default_value"
63 android:icon="?attr/userAgentIcon" />
65 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
67 android:key="custom_user_agent"
68 android:title="@string/custom_user_agent"
69 android:defaultValue="@string/custom_user_agent_default_value"
70 android:inputType="textVisiblePassword|textMultiLine" />
73 android:key="incognito_mode"
74 android:title="@string/incognito_mode"
75 android:summary="@string/incognito_mode_summary"
76 android:defaultValue="false" />
79 android:key="do_not_track"
80 android:title="@string/do_not_track"
81 android:summary="@string/do_not_track_summary"
82 android:defaultValue="false" />
85 android:key="allow_screenshots"
86 android:title="@string/allow_screenshots"
87 android:summary="@string/allow_screenshots_summary"
88 android:defaultValue="false" />
92 android:key="blocklists"
93 android:title="@string/blocklists" >
96 android:key="easylist"
97 android:title="@string/easylist"
98 android:summary="@string/easylist_summary"
99 android:defaultValue="true" />
102 android:key="easyprivacy"
103 android:title="@string/easyprivacy"
104 android:summary="@string/easyprivacy_summary"
105 android:defaultValue="true" />
108 android:key="fanboys_annoyance_list"
109 android:title="@string/fanboys_annoyance_list"
110 android:summary="@string/fanboys_annoyance_list_summary"
111 android:defaultValue="true" />
114 android:key="fanboys_social_blocking_list"
115 android:title="@string/fanboys_social_blocking_list"
116 android:summary="@string/fanboys_social_blocking_list_summary"
117 android:defaultValue="true" />
120 android:key="ultraprivacy"
121 android:title="@string/ultraprivacy"
122 android:summary="@string/ultraprivacy_summary"
123 android:defaultValue="true" />
126 android:key="block_all_third_party_requests"
127 android:title="@string/block_all_third_party_requests"
128 android:summary="@string/block_all_third_party_requests_summary"
129 android:defaultValue="false" />
130 </PreferenceCategory>
133 android:key="url_modification"
134 android:title="@string/url_modification" >
137 android:key="google_analytics"
138 android:title="@string/google_analytics"
139 android:summary="@string/google_analytics_summary"
140 android:defaultValue="true" />
141 </PreferenceCategory>
145 android:title="@string/tor" >
148 android:key="proxy_through_orbot"
149 android:title="@string/proxy_through_orbot"
150 android:summary="@string/proxy_through_orbot_summary"
151 android:defaultValue="false" />
154 android:key="tor_homepage"
155 android:title="@string/tor_homepage"
156 android:defaultValue="@string/tor_homepage_default_value"
157 android:inputType="textUri" />
160 android:key="tor_search"
161 android:title="@string/tor_search"
162 android:entries="@array/tor_search_entries"
163 android:entryValues="@array/tor_search_entry_values"
164 android:defaultValue="@string/tor_search_default_value" />
167 android:key="tor_search_custom_url"
168 android:title="@string/tor_search_custom_url"
169 android:defaultValue="@string/tor_search_custom_url_default_value"
170 android:inputType="textUri" />
171 </PreferenceCategory>
174 android:key="search_category"
175 android:title="@string/search" >
179 android:title="@string/search"
180 android:entries="@array/search_entries"
181 android:entryValues="@array/search_entry_values"
182 android:defaultValue="@string/search_default_value"
183 android:icon="?attr/searchIcon" />
186 android:key="search_custom_url"
187 android:title="@string/search_custom_url"
188 android:defaultValue="@string/search_custom_url_default_value"
189 android:inputType="textUri" />
190 </PreferenceCategory>
193 android:key="full_screen"
194 android:title="@string/full_screen" >
197 android:key="full_screen_browsing_mode"
198 android:title="@string/full_screen_browsing_mode"
199 android:summary="@string/full_screen_browsing_mode_summary"
200 android:defaultValue="false" />
203 android:key="hide_app_bar"
204 android:title="@string/hide_app_bar"
205 android:summary="@string/hide_app_bar_summary"
206 android:defaultValue="true" />
207 </PreferenceCategory>
210 android:key="clear_and_exit"
211 android:title="@string/clear_and_exit" >
214 android:key="clear_everything"
215 android:title="@string/clear_everything"
216 android:summary="@string/clear_everything_summary"
217 android:defaultValue="true" />
220 android:key="clear_cookies"
221 android:title="@string/clear_cookies_preference"
222 android:summary="@string/clear_cookies_summary"
223 android:defaultValue="true" />
226 android:key="clear_dom_storage"
227 android:title="@string/clear_dom_storage_preference"
228 android:summary="@string/clear_dom_storage_summary"
229 android:defaultValue="true" />
231 <!-- Clear form data can be removed once the minimum API >= 26. -->
233 android:key="clear_form_data"
234 android:title="@string/clear_form_data_preference"
235 android:summary="@string/clear_form_data_summary"
236 android:defaultValue="true" />
239 android:key="clear_cache"
240 android:title="@string/clear_cache"
241 android:summary="@string/clear_cache_summary"
242 android:defaultValue="true" />
243 </PreferenceCategory>
246 android:key="general"
247 android:title="@string/general" >
250 android:key="homepage"
251 android:title="@string/homepage"
252 android:defaultValue="@string/homepage_default_value"
253 android:inputType="textUri"
254 android:icon="?attr/homepageIcon" />
257 android:key="font_size"
258 android:title="@string/font_size_preference"
259 android:entries="@array/font_size_entries"
260 android:entryValues="@array/font_size_entry_values"
261 android:defaultValue="@string/font_size_default_value"
262 android:icon="?attr/fontSizeIcon" />
265 android:key="open_intents_in_new_tab"
266 android:title="@string/open_intents_in_new_tab"
267 android:summary="@string/open_intents_in_new_tab_summary"
268 android:defaultValue="true" />
271 android:key="swipe_to_refresh"
272 android:title="@string/swipe_to_refresh"
273 android:summary="@string/swipe_to_refresh_summary"
274 android:defaultValue="true" />
277 android:key="scroll_app_bar"
278 android:title="@string/scroll_app_bar"
279 android:summary="@string/scroll_app_bar_summary"
280 android:defaultValue="true" />
283 android:key="display_additional_app_bar_icons"
284 android:title="@string/display_additional_app_bar_icons"
285 android:summary="@string/display_additional_app_bar_icons_summary"
286 android:defaultValue="false" />
289 android:key="download_with_external_app"
290 android:title="@string/download_with_external_app"
291 android:summary="@string/download_with_external_app_summary"
292 android:defaultValue="false" />
295 android:key="dark_theme"
296 android:title="@string/dark_theme"
297 android:summary="@string/dark_theme_summary"
298 android:defaultValue="false" />
301 android:key="night_mode"
302 android:title="@string/night_mode"
303 android:summary="@string/night_mode_summary"
304 android:defaultValue="false" />
307 android:key="display_webpage_images"
308 android:title="@string/display_webpage_images"
309 android:summary="@string/display_webpage_images_summary"
310 android:defaultValue="true" />
311 </PreferenceCategory>