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