Implement IP Address Pinning. https://redmine.stoutner.com/issues/212
[PrivacyBrowser.git] / app / src / main / res / menu / webview_options_menu.xml
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <!--
4   Copyright © 2015-2019 Soren Stoutner <soren@stoutner.com>.
5
6   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
7
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.
12
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.
17
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/>. -->
20
21 <menu
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     xmlns:app="http://schemas.android.com/apk/res-auto"
24     xmlns:tools="http://schemas.android.com/tools"
25     tools:context=".activities.MainWebViewActivity" >
26
27     <item
28         android:id="@+id/toggle_javascript"
29         android:title="@string/javascript"
30         android:orderInCategory="100"
31         app:showAsAction="ifRoom" />
32
33     <item
34         android:id="@+id/add_or_edit_domain"
35         android:title="@string/add_domain_settings"
36         android:orderInCategory="200"
37         app:showAsAction="never" />
38
39     <item
40         android:id="@+id/toggle_first_party_cookies"
41         android:title="@string/first_party_cookies"
42         android:orderInCategory="300"
43         android:checkable="true"
44         app:showAsAction="never" />
45
46     <item
47         android:id="@+id/toggle_third_party_cookies"
48         android:title="@string/third_party_cookies"
49         android:orderInCategory="400"
50         android:checkable="true"
51         app:showAsAction="never" />
52
53     <item
54         android:id="@+id/toggle_dom_storage"
55         android:title="@string/dom_storage"
56         android:orderInCategory="500"
57         android:checkable="true"
58         app:showAsAction="never" />
59
60     <item
61         android:id="@+id/toggle_save_form_data"
62         android:title="@string/form_data"
63         android:orderInCategory="600"
64         android:checkable="true"
65         app:showAsAction="never" />
66
67     <item
68         android:id="@+id/clear_data"
69         android:title="@string/clear_data"
70         android:orderInCategory="700"
71         app:showAsAction="never" >
72
73         <menu>
74             <item
75                 android:id="@+id/clear_cookies"
76                 android:title="@string/clear_cookies"
77                 android:orderInCategory="710"
78                 app:showAsAction="never" />
79
80             <item
81                 android:id="@+id/clear_dom_storage"
82                 android:title="@string/clear_dom_storage"
83                 android:orderInCategory="720"
84                 app:showAsAction="never" />
85
86             <item
87                 android:id="@+id/clear_form_data"
88                 android:title="@string/clear_form_data"
89                 android:orderInCategory="730"
90                 app:showAsAction="never" />
91         </menu>
92     </item>
93
94     <item
95         android:id="@+id/blocklists"
96         android:title="@string/blocklists"
97         android:orderInCategory="800"
98         app:showAsAction="never" >
99
100         <menu>
101             <item
102                 android:id="@+id/easylist"
103                 android:title="@string/easylist"
104                 android:orderInCategory="810"
105                 android:checkable="true"
106                 app:showAsAction="never" />
107
108             <item
109                 android:id="@+id/easyprivacy"
110                 android:title="@string/easyprivacy"
111                 android:orderInCategory="820"
112                 android:checkable="true"
113                 app:showAsAction="never" />
114
115             <item
116                 android:id="@+id/fanboys_annoyance_list"
117                 android:title="@string/options_fanboys_annoyance_list"
118                 android:orderInCategory="830"
119                 android:checkable="true"
120                 app:showAsAction="never" />
121
122             <item
123                 android:id="@+id/fanboys_social_blocking_list"
124                 android:title="@string/options_fanboys_social_blocking_list"
125                 android:orderInCategory="840"
126                 android:checkable="true"
127                 app:showAsAction="never" />
128
129             <item
130                 android:id="@+id/ultraprivacy"
131                 android:title="@string/ultraprivacy"
132                 android:orderInCategory="850"
133                 android:checkable="true"
134                 app:showAsAction="never" />
135
136             <item
137                 android:id="@+id/block_all_third_party_requests"
138                 android:title="@string/options_block_all_third_party_requests"
139                 android:orderInCategory="860"
140                 android:checkable="true"
141                 app:showAsAction="never" />
142         </menu>
143     </item>
144
145     <item
146         android:id="@+id/layout"
147         android:title="@string/layout"
148         android:orderInCategory="900"
149         app:showAsAction="never" >
150
151         <menu>
152             <item
153                 android:id="@+id/user_agent"
154                 android:title="@string/user_agent"
155                 android:orderInCategory="910"
156                 app:showAsAction="never" >
157
158                 <menu>
159                     <group android:checkableBehavior ="single">
160                         <item
161                             android:id="@+id/user_agent_privacy_browser"
162                             android:title="@string/privacy_browser"
163                             android:orderInCategory="911"
164                             app:showAsAction="never" />
165
166                         <item
167                             android:id="@+id/user_agent_webview_default"
168                             android:title="@string/user_agent_webview_default"
169                             android:orderInCategory="912"
170                             app:showAsAction="never" />
171
172                         <item
173                             android:id="@+id/user_agent_firefox_on_android"
174                             android:title="@string/user_agent_firefox_on_android"
175                             android:orderInCategory="913"
176                             app:showAsAction="never" />
177
178                         <item
179                             android:id="@+id/user_agent_chrome_on_android"
180                             android:title="@string/user_agent_chrome_on_android"
181                             android:orderInCategory="914"
182                             app:showAsAction="never" />
183
184                         <item
185                             android:id="@+id/user_agent_safari_on_ios"
186                             android:title="@string/user_agent_safari_on_ios"
187                             android:orderInCategory="915"
188                             app:showAsAction="never" />
189
190                         <item
191                             android:id="@+id/user_agent_firefox_on_linux"
192                             android:title="@string/user_agent_firefox_on_linux"
193                             android:orderInCategory="916"
194                             app:showAsAction="never" />
195
196                         <item
197                             android:id="@+id/user_agent_chromium_on_linux"
198                             android:title="@string/user_agent_chromium_on_linux"
199                             android:orderInCategory="917"
200                             app:showAsAction="never" />
201
202                         <item
203                             android:id="@+id/user_agent_firefox_on_windows"
204                             android:title="@string/user_agent_firefox_on_windows"
205                             android:orderInCategory="918"
206                             app:showAsAction="never" />
207
208                         <item
209                             android:id="@+id/user_agent_chrome_on_windows"
210                             android:title="@string/user_agent_chrome_on_windows"
211                             android:orderInCategory="919"
212                             app:showAsAction="never" />
213
214                         <item
215                             android:id="@+id/user_agent_edge_on_windows"
216                             android:title="@string/user_agent_edge_on_windows"
217                             android:orderInCategory="920"
218                             app:showAsAction="never" />
219
220                         <item
221                             android:id="@+id/user_agent_internet_explorer_on_windows"
222                             android:title="@string/user_agent_internet_explorer_on_windows"
223                             android:orderInCategory="921"
224                             app:showAsAction="never" />
225
226                         <item
227                             android:id="@+id/user_agent_safari_on_macos"
228                             android:title="@string/user_agent_safari_on_macos"
229                             android:orderInCategory="922"
230                             app:showAsAction="never" />
231
232                         <item
233                             android:id="@+id/user_agent_custom"
234                             android:title="@string/user_agent_custom"
235                             android:orderInCategory="923"
236                             app:showAsAction="never" />
237                     </group>
238                 </menu>
239             </item>
240
241             <item
242                 android:id="@+id/font_size"
243                 android:title="@string/font_size"
244                 android:orderInCategory="930"
245                 app:showAsAction="never" >
246
247                 <menu>
248                     <group android:checkableBehavior="single">
249                         <item
250                             android:id="@+id/font_size_twenty_five_percent"
251                             android:title="@string/twenty_five_percent"
252                             android:orderInCategory="931"
253                             app:showAsAction="never" />
254
255                         <item
256                             android:id="@+id/font_size_fifty_percent"
257                             android:title="@string/fifty_percent"
258                             android:orderInCategory="932"
259                             app:showAsAction="never" />
260
261                         <item
262                             android:id="@+id/font_size_seventy_five_percent"
263                             android:title="@string/seventy_five_percent"
264                             android:orderInCategory="933"
265                             app:showAsAction="never" />
266
267                         <item
268                             android:id="@+id/font_size_one_hundred_percent"
269                             android:title="@string/one_hundred_percent"
270                             android:orderInCategory="934"
271                             app:showAsAction="never" />
272
273                         <item
274                             android:id="@+id/font_size_one_hundred_twenty_five_percent"
275                             android:title="@string/one_hundred_twenty_five_percent"
276                             android:orderInCategory="935"
277                             app:showAsAction="never" />
278
279                         <item
280                             android:id="@+id/font_size_one_hundred_fifty_percent"
281                             android:title="@string/one_hundred_fifty_percent"
282                             android:orderInCategory="936"
283                             app:showAsAction="never" />
284
285                         <item
286                             android:id="@+id/font_size_one_hundred_seventy_five_percent"
287                             android:title="@string/one_hundred_seventy_five_percent"
288                             android:orderInCategory="937"
289                             app:showAsAction="never" />
290
291                         <item
292                             android:id="@+id/font_size_two_hundred_percent"
293                             android:title="@string/two_hundred_percent"
294                             android:orderInCategory="938"
295                             app:showAsAction="never" />
296                     </group>
297                 </menu>
298             </item>
299
300             <item
301                 android:id="@+id/swipe_to_refresh"
302                 android:title="@string/swipe_to_refresh_options_menu"
303                 android:orderInCategory="940"
304                 android:checkable="true"
305                 app:showAsAction="never" />
306
307             <item
308                 android:id="@+id/display_images"
309                 android:title="@string/display_images"
310                 android:orderInCategory="950"
311                 android:checkable="true"
312                 app:showAsAction="never" />
313
314             <item
315                 android:id="@+id/night_mode"
316                 android:title="@string/night_mode"
317                 android:orderInCategory="960"
318                 android:checkable="true"
319                 app:showAsAction="never" />
320
321             <item
322                 android:id="@+id/find_on_page"
323                 android:title="@string/find_on_page"
324                 android:orderInCategory="970"
325                 app:showAsAction="never|collapseActionView" />
326
327             <item
328                 android:id="@+id/view_source"
329                 android:title="@string/view_source"
330                 android:orderInCategory="980"
331                 app:showAsAction="never" />
332         </menu>
333     </item>
334
335     <item
336         android:id="@+id/share"
337         android:title="@string/share"
338         android:orderInCategory="1000"
339         app:showAsAction="never" >
340
341         <menu>
342             <item
343                 android:id="@+id/share_url"
344                 android:title="@string/share_url"
345                 android:orderInCategory="1010"
346                 app:showAsAction="never" />
347
348             <item
349                 android:id="@+id/print"
350                 android:title="@string/print"
351                 android:orderInCategory="1020"
352                 app:showAsAction="never" />
353
354             <item
355                 android:id="@+id/open_with_app"
356                 android:title="@string/open_with_app"
357                 android:orderInCategory="1030"
358                 app:showAsAction="never" />
359
360             <item
361                 android:id="@+id/open_with_browser"
362                 android:title="@string/open_with_browser"
363                 android:orderInCategory="1040"
364                 app:showAsAction="never" />
365
366             <item
367                 android:id="@+id/add_to_homescreen"
368                 android:title="@string/add_to_home_screen"
369                 android:orderInCategory="1050"
370                 app:showAsAction="never" />
371         </menu>
372     </item>
373
374     <item
375         android:id="@+id/proxy_through_orbot"
376         android:title="@string/proxy_through_orbot"
377         android:orderInCategory="1100"
378         android:checkable="true"
379         app:showAsAction="never" />
380
381     <item
382         android:id="@+id/refresh"
383         android:title="@string/refresh"
384         android:orderInCategory="1200"
385         app:showAsAction="never" />
386
387     <item
388         android:id="@+id/ad_consent"
389         android:title="@string/ad_consent"
390         android:orderInCategory="1600"
391         app:showAsAction="never" />
392 </menu>