1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2016 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/user_agent_entries"
60 android:entryValues="@array/user_agent_entry_values"
61 android:defaultValue="PrivacyBrowser/1.0" />
63 <!-- android:inputType="textVisiblePassword" sets the keyboard to have a dedicated number row.-->
65 android:key="custom_user_agent"
66 android:title="@string/custom_user_agent"
67 android:defaultValue="PrivacyBrowser/1.0"
68 android:inputType="textVisiblePassword|textMultiLine" />
71 android:key="block_ads"
72 android:title="@string/block_ads"
73 android:summary="@string/block_ads_summary"
74 android:defaultValue="true" />
77 android:key="do_not_track"
78 android:title="@string/do_not_track"
79 android:summary="@string/do_not_track_summary"
80 android:defaultValue="false" />
85 android:title="@string/search">
88 android:key="javascript_disabled_search"
89 android:title="@string/javascript_disabled_search"
90 android:entries="@array/javascript_disabled_search_entries"
91 android:entryValues="@array/javascript_disabled_search_entry_values"
92 android:defaultValue="https://duckduckgo.com/html/?q=" />
95 android:key="javascript_disabled_search_custom_url"
96 android:title="@string/javascript_disabled_search_custom_url"
97 android:defaultValue=""
98 android:inputType="textUri" />
101 android:key="javascript_enabled_search"
102 android:title="@string/javascript_enabled_search"
103 android:entries="@array/javascript_enabled_search_entries"
104 android:entryValues="@array/javascript_enabled_search_entry_values"
105 android:defaultValue="https://duckduckgo.com/?q=" />
108 android:key="javascript_enabled_search_custom_url"
109 android:title="@string/javascript_enabled_search_custom_url"
110 android:defaultValue=""
111 android:inputType="textUri" />
112 </PreferenceCategory>
115 android:key="full_screen"
116 android:title="@string/full_screen">
119 android:key="enable_full_screen_browsing_mode"
120 android:title="@string/enable_full_screen_browsing_mode"
121 android:summary="@string/enable_full_screen_browsing_mode_summary"
122 android:defaultValue="false" />
125 android:key="hide_system_bars"
126 android:title="@string/hide_system_bars"
127 android:summary="@string/hide_system_bars_summary"
128 android:defaultValue="false" />
131 android:key="translucent_navigation_bar"
132 android:title="@string/translucent_navigation_bar"
133 android:summary="@string/translucent_navigation_bar_summary"
134 android:defaultValue="true" />
135 </PreferenceCategory>
139 android:title="@string/tor" >
142 android:key="proxy_through_orbot"
143 android:title="@string/proxy_through_orbot"
144 android:summary="@string/proxy_through_orbot_summary"
145 android:defaultValue="false" />
148 android:key="tor_homepage"
149 android:title="@string/tor_homepage"
150 android:defaultValue="https://3g2upl4pq6kufc4m.onion"
151 android:inputType="textUri" />
154 android:key="tor_javascript_disabled_search"
155 android:title="@string/tor_javascript_disabled_search"
156 android:entries="@array/tor_javascript_disabled_search_entries"
157 android:entryValues="@array/tor_javascript_disabled_search_entry_values"
158 android:defaultValue="https://3g2upl4pq6kufc4m.onion/html/?q=" />
161 android:key="tor_javascript_disabled_search_custom_url"
162 android:title="@string/tor_javascript_disabled_search_custom_url"
163 android:defaultValue=""
164 android:inputType="textUri" />
167 android:key="tor_javascript_enabled_search"
168 android:title="@string/tor_javascript_enabled_search"
169 android:entries="@array/tor_javascript_enabled_search_entries"
170 android:entryValues="@array/tor_javascript_enabled_search_entry_values"
171 android:defaultValue="https://3g2upl4pq6kufc4m.onion/?q=" />
174 android:key="tor_javascript_enabled_search_custom_url"
175 android:title="@string/tor_javascript_enabled_search_custom_url"
176 android:defaultValue=""
177 android:inputType="textUri" />
178 </PreferenceCategory>
181 android:key="general"
182 android:title="@string/general" >
185 android:key="homepage"
186 android:title="@string/homepage"
187 android:defaultValue="https://duckduckgo.com"
188 android:inputType="textUri" />
191 android:key="default_font_size"
192 android:title="@string/default_font_size"
193 android:entries="@array/default_font_size_entries"
194 android:entryValues="@array/default_font_size_entry_values"
195 android:defaultValue="100" />
198 android:key="swipe_to_refresh_enabled"
199 android:title="@string/swipe_to_refresh_enabled"
200 android:summary="@string/swipe_to_refresh_enabled_summary"
201 android:defaultValue="false" />
204 android:key="display_additional_app_bar_icons"
205 android:title="@string/display_additional_app_bar_icons"
206 android:summary="@string/display_additional_app_bar_icons_summary"
207 android:defaultValue="false" />
208 </PreferenceCategory>