1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016-2018 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_enabled"
28 android:title="@string/javascript_preference"
29 android:summary="@string/javascript_preference_summary"
30 android:defaultValue="false" />
33 android:key="first_party_cookies_enabled"
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_enabled"
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_enabled"
46 android:title="@string/dom_storage_preference"
47 android:summary="@string/dom_storage_preference_summary"
48 android:defaultValue="false" />
51 android:key="save_form_data_enabled"
52 android:title="@string/save_form_data_preference"
53 android:summary="@string/save_form_data_preference_summary"
54 android:defaultValue="false" />
57 android:key="user_agent"
58 android:title="@string/user_agent"
59 android:entries="@array/translated_user_agent_names"
60 android:entryValues="@array/user_agent_names"
61 android:defaultValue="Privacy Browser"
62 android:icon="?attr/userAgentIcon" />
64 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
66 android:key="custom_user_agent"
67 android:title="@string/custom_user_agent"
68 android:defaultValue="PrivacyBrowser/1.0"
69 android:inputType="textVisiblePassword|textMultiLine" />
72 android:key="incognito_mode"
73 android:title="@string/incognito_mode"
74 android:summary="@string/incognito_mode_summary"
75 android:defaultValue="false" />
78 android:key="do_not_track"
79 android:title="@string/do_not_track"
80 android:summary="@string/do_not_track_summary"
81 android:defaultValue="false" />
84 android:key="allow_screenshots"
85 android:title="@string/allow_screenshots"
86 android:summary="@string/allow_screenshots_summary"
87 android:defaultValue="false" />
91 android:key="block_lists"
92 android:title="@string/block_lists" >
95 android:key="easylist"
96 android:title="@string/easylist"
97 android:summary="@string/easylist_summary"
98 android:defaultValue="true" />
101 android:key="easyprivacy"
102 android:title="@string/easyprivacy"
103 android:summary="@string/easyprivacy_summary"
104 android:defaultValue="true" />
107 android:key="fanboy_annoyance_list"
108 android:title="@string/fanboy_annoyance_list"
109 android:summary="@string/fanboy_annoyance_list_summary"
110 android:defaultValue="true" />
113 android:key="fanboy_social_blocking_list"
114 android:title="@string/fanboy_social_blocking_list"
115 android:summary="@string/fanboy_social_blocking_list_summary"
116 android:defaultValue="true" />
117 </PreferenceCategory>
121 android:title="@string/tor" >
124 android:key="proxy_through_orbot"
125 android:title="@string/proxy_through_orbot"
126 android:summary="@string/proxy_through_orbot_summary"
127 android:defaultValue="false" />
130 android:key="tor_homepage"
131 android:title="@string/tor_homepage"
132 android:defaultValue="https://3g2upl4pq6kufc4m.onion/"
133 android:inputType="textUri" />
136 android:key="tor_search"
137 android:title="@string/tor_search"
138 android:entries="@array/tor_search_entries"
139 android:entryValues="@array/tor_search_entry_values"
140 android:defaultValue="https://3g2upl4pq6kufc4m.onion/html/?q=" />
142 <!--suppress AndroidDomInspection -->
143 <!--`suppress AndroidDomInspection` removes the error about the default value being blank. -->
145 android:key="tor_search_custom_url"
146 android:title="@string/tor_search_custom_url"
147 android:defaultValue=""
148 android:inputType="textUri" />
149 </PreferenceCategory>
152 android:key="search_category"
153 android:title="@string/search" >
157 android:title="@string/search"
158 android:entries="@array/search_entries"
159 android:entryValues="@array/search_entry_values"
160 android:defaultValue="https://duckduckgo.com/html/?q="
161 android:icon="?attr/searchIcon" />
163 <!--suppress AndroidDomInspection -->
164 <!--`suppress AndroidDomInspection` removes the error about the default value being blank. -->
166 android:key="search_custom_url"
167 android:title="@string/search_custom_url"
168 android:defaultValue=""
169 android:inputType="textUri" />
170 </PreferenceCategory>
173 android:key="full_screen"
174 android:title="@string/full_screen" >
177 android:key="full_screen_browsing_mode"
178 android:title="@string/full_screen_browsing_mode"
179 android:summary="@string/full_screen_browsing_mode_summary"
180 android:defaultValue="false" />
183 android:key="hide_system_bars"
184 android:title="@string/hide_system_bars"
185 android:summary="@string/hide_system_bars_summary"
186 android:defaultValue="false" />
189 android:key="translucent_navigation_bar"
190 android:title="@string/translucent_navigation_bar"
191 android:summary="@string/translucent_navigation_bar_summary"
192 android:defaultValue="true" />
193 </PreferenceCategory>
196 android:key="clean_and_exit"
197 android:title="@string/clear_and_exit" >
200 android:key="clear_everything"
201 android:title="@string/clear_everything"
202 android:summary="@string/clear_everything_summary"
203 android:defaultValue="true" />
206 android:key="clear_cookies"
207 android:title="@string/clear_cookies_preference"
208 android:summary="@string/clear_cookies_summary"
209 android:defaultValue="true" />
212 android:key="clear_dom_storage"
213 android:title="@string/clear_dom_storage_preference"
214 android:summary="@string/clear_dom_storage_summary"
215 android:defaultValue="true" />
218 android:key="clear_form_data"
219 android:title="@string/clear_form_data_preference"
220 android:summary="@string/clear_form_data_summary"
221 android:defaultValue="true" />
224 android:key="clear_cache"
225 android:title="@string/clear_cache"
226 android:summary="@string/clear_cache_summary"
227 android:defaultValue="true" />
228 </PreferenceCategory>
231 android:key="general"
232 android:title="@string/general" >
235 android:key="homepage"
236 android:title="@string/homepage"
237 android:defaultValue="https://duckduckgo.com/?kao=-1&kak=-1"
238 android:inputType="textUri"
239 android:icon="?attr/homepageIcon" />
242 android:key="default_font_size"
243 android:title="@string/default_font_size"
244 android:entries="@array/default_font_size_entries"
245 android:entryValues="@array/default_font_size_entry_values"
246 android:defaultValue="100"
247 android:icon="?attr/fontSizeIcon" />
250 android:key="swipe_to_refresh"
251 android:title="@string/swipe_to_refresh_preference"
252 android:summary="@string/swipe_to_refresh_summary"
253 android:defaultValue="true" />
256 android:key="display_additional_app_bar_icons"
257 android:title="@string/display_additional_app_bar_icons"
258 android:summary="@string/display_additional_app_bar_icons_summary"
259 android:defaultValue="false" />
262 android:key="dark_theme"
263 android:title="@string/dark_theme"
264 android:summary="@string/dark_theme_summary"
265 android:defaultValue="false" />
268 android:key="night_mode"
269 android:title="@string/night_mode"
270 android:summary="@string/night_mode_summary"
271 android:defaultValue="false" />
274 android:key="display_webpage_images"
275 android:title="@string/display_webpage_images"
276 android:summary="@string/display_webpage_images_summary"
277 android:defaultValue="true" />
278 </PreferenceCategory>