From 323bc5323b1f8e2b9d0f78acfdd6b6c8e8246932 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 20 Jul 2022 13:17:46 -0700 Subject: [PATCH] Standardize the app bar icon size. https://redmine.stoutner.com/issues/877 --- .../main/assets/de/guide_tracking_ids.html | 4 +- .../main/assets/en/guide_tracking_ids.html | 4 +- .../main/assets/es/guide_local_storage.html | 20 +++--- .../main/assets/es/guide_tracking_ids.html | 6 +- .../main/assets/fr/guide_tracking_ids.html | 4 +- .../main/assets/it/guide_tracking_ids.html | 4 +- .../assets/pt-rBR/guide_tracking_ids.html | 4 +- .../main/assets/ru/guide_tracking_ids.html | 4 +- .../main/assets/tr/guide_tracking_ids.html | 4 +- .../fragments/SettingsFragment.java | 67 ++++++++++--------- app/src/main/res/drawable/about.xml | 4 +- app/src/main/res/drawable/about_blue.xml | 4 +- app/src/main/res/drawable/add.xml | 4 +- .../drawable/allow_screenshots_disabled.xml | 4 +- .../drawable/allow_screenshots_enabled.xml | 4 +- .../main/res/drawable/app_bar_disabled.xml | 4 +- app/src/main/res/drawable/app_bar_enabled.xml | 4 +- app/src/main/res/drawable/app_bar_ghosted.xml | 4 +- app/src/main/res/drawable/back.xml | 4 +- .../res/drawable/clear_cache_disabled.xml | 4 +- .../res/drawable/clear_cookies_disabled.xml | 4 +- .../res/drawable/clear_cookies_enabled.xml | 4 +- .../drawable/clear_dom_storage_disabled.xml | 4 +- .../drawable/clear_dom_storage_enabled.xml | 4 +- .../res/drawable/clear_form_data_disabled.xml | 4 +- .../res/drawable/clear_form_data_enabled.xml | 4 +- .../res/drawable/clear_logcat_disabled.xml | 4 +- .../res/drawable/clear_logcat_enabled.xml | 4 +- .../main/res/drawable/cookies_disabled.xml | 4 +- app/src/main/res/drawable/cookies_enabled.xml | 4 +- .../res/drawable/dom_storage_disabled.xml | 4 +- .../main/res/drawable/dom_storage_enabled.xml | 4 +- .../main/res/drawable/dom_storage_ghosted.xml | 4 +- .../download_with_external_app_disabled.xml | 4 +- .../download_with_external_app_enabled.xml | 4 +- .../main/res/drawable/folder_dark_blue.xml | 4 +- app/src/main/res/drawable/folder_gray.xml | 4 +- .../main/res/drawable/form_data_disabled.xml | 4 +- .../main/res/drawable/form_data_enabled.xml | 4 +- app/src/main/res/drawable/forward.xml | 4 +- app/src/main/res/drawable/guide.xml | 4 +- app/src/main/res/drawable/history.xml | 4 +- .../main/res/drawable/javascript_enabled.xml | 8 +-- .../main/res/drawable/move_down_disabled.xml | 4 +- .../main/res/drawable/move_down_enabled.xml | 4 +- app/src/main/res/drawable/next.xml | 4 +- app/src/main/res/drawable/previous.xml | 4 +- app/src/main/res/drawable/privacy_mode.xml | 8 +-- app/src/main/res/drawable/save.xml | 4 +- app/src/main/res/drawable/settings.xml | 4 +- app/src/main/res/drawable/warning.xml | 8 +-- .../x_requested_with_header_disabled.xml | 13 ++++ .../x_requested_with_header_enabled.xml | 13 ++++ app/src/main/res/values-de/strings.xml | 8 ++- app/src/main/res/values-es/strings.xml | 4 +- app/src/main/res/values-fr/strings.xml | 2 +- app/src/main/res/values-it/strings.xml | 8 ++- app/src/main/res/values-pt-rBR/strings.xml | 2 +- app/src/main/res/values-ru/strings.xml | 2 +- app/src/main/res/values/strings.xml | 5 +- app/src/main/res/xml/preferences.xml | 28 +++++--- 61 files changed, 217 insertions(+), 165 deletions(-) create mode 100644 app/src/main/res/drawable/x_requested_with_header_disabled.xml create mode 100644 app/src/main/res/drawable/x_requested_with_header_enabled.xml diff --git a/app/src/main/assets/de/guide_tracking_ids.html b/app/src/main/assets/de/guide_tracking_ids.html index 5e7f1f99..845bea81 100644 --- a/app/src/main/assets/de/guide_tracking_ids.html +++ b/app/src/main/assets/de/guide_tracking_ids.html @@ -44,8 +44,8 @@

URL-Bereinigung

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/en/guide_tracking_ids.html b/app/src/main/assets/en/guide_tracking_ids.html index ae155d5b..eaf2ca3d 100644 --- a/app/src/main/assets/en/guide_tracking_ids.html +++ b/app/src/main/assets/en/guide_tracking_ids.html @@ -38,8 +38,8 @@

URL Modification

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/es/guide_local_storage.html b/app/src/main/assets/es/guide_local_storage.html index ea7356fa..23351e5d 100644 --- a/app/src/main/assets/es/guide_local_storage.html +++ b/app/src/main/assets/es/guide_local_storage.html @@ -45,11 +45,12 @@

Casi todas las páginas web con logins requieren que las cookies estén habilitadas para que el usuario pueda iniciar sesión. Así es como se aseguran de que sigues siendo tú al pasar de una página a otra de la web, y es, en mi opinión, el único uso legítimo de las cookies.

-

Android's System WebView treats cookies as an app level setting, meaning that cookies are either on or off for all tabs in Privacy Browser. - The result is that the cookies setting for whatever tab is currently displayed controls the cookies setting for all the background tabs as well. - If you have a tab in that background that has cookies enabled so that you can be logged into a website, and switch to a tab that doesn't have cookies enabled, it disabled cookies for all the tabs. - If the background tab makes a request, for example, to see if there is updated information, that request will be sent without cookies, which will cause the website to log you out. - This is a limitation that will be removed with the release of Privacy WebView in the 4.x series.

+

El sistema WebView de Android trata las cookies como un ajuste a nivel de aplicación, lo que significa que las cookies están activadas o desactivadas para todas las pestañas de Navegador Privado. + El resultado es que la configuración de las cookies de la pestaña que se muestra en ese momento controla también la configuración de las cookies de todas las pestañas del fondo. + Si tienes una pestaña en segundo plano que tiene las cookies habilitadas para poder entrar en un sitio web, y cambias a una pestaña que no tiene las cookies habilitadas, + se deshabilitan las cookies para todas las pestañas. + Si la pestaña en segundo plano hace una petición, por ejemplo, para ver si hay información actualizada, esa petición se enviará sin cookies, lo que hará que el sitio web cierre la sesión. + Esta es una limitación que se eliminará con el lanzamiento de Privacy WebView en la serie 4.x.

Si las cookies están activadas pero JavaScript está desactivado, el icono de privacidad será amarillo como advertencia.

@@ -79,10 +80,11 @@ Por ello, los controles para los datos de los formularios ya no aparecen en los dispositivos Android más nuevos.

-

Clear and Exit

+

Borrar y Salir

-

Clear and Exit runs every time the last tab is closed or Clear and Exit is selected from the navigation menu. - By default it clears the cookies, DOM storage, form data, the logcat, and the WebView cache. Then it manually deletes the entire app_webview and cache directories. - The behavior of Clear and Exit can be configured in the settings.

+

Borrar y salir se ejecuta cada vez que se cierra la última pestaña o se selecciona Borrar y salir en el menú de navegación. + Por defecto borra las cookies, el almacenamiento DOM, los datos del formulario, el logcat y la caché de WebView. + Luego borra manualmente los directorios app_webview y cache. + El comportamiento de Borrar y Salir se puede configurar en los ajustes.

\ No newline at end of file diff --git a/app/src/main/assets/es/guide_tracking_ids.html b/app/src/main/assets/es/guide_tracking_ids.html index 36ccfbbb..ad8ab3fd 100644 --- a/app/src/main/assets/es/guide_tracking_ids.html +++ b/app/src/main/assets/es/guide_tracking_ids.html @@ -40,8 +40,8 @@

Modificación de URL

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. - URL modification can be turned off in the settings if it is causing issues.

+

Navegador Privado elimina los ID de seguimiento y las redirecciones AMP (Accelerated Mobile Pages) de las consultas de las URL. + Hay una entrada del blog que se actualiza con la lista actual de modificaciones. + La modificación de la URL se puede desactivar en la configuración si está causando problemas.

\ No newline at end of file diff --git a/app/src/main/assets/fr/guide_tracking_ids.html b/app/src/main/assets/fr/guide_tracking_ids.html index f78f030c..245761a6 100644 --- a/app/src/main/assets/fr/guide_tracking_ids.html +++ b/app/src/main/assets/fr/guide_tracking_ids.html @@ -40,8 +40,8 @@

Modification d'URLs

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/it/guide_tracking_ids.html b/app/src/main/assets/it/guide_tracking_ids.html index 486d87ad..04ec23b6 100644 --- a/app/src/main/assets/it/guide_tracking_ids.html +++ b/app/src/main/assets/it/guide_tracking_ids.html @@ -40,8 +40,8 @@

Modifica delle URL

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/pt-rBR/guide_tracking_ids.html b/app/src/main/assets/pt-rBR/guide_tracking_ids.html index 5a0e3f96..ba507583 100644 --- a/app/src/main/assets/pt-rBR/guide_tracking_ids.html +++ b/app/src/main/assets/pt-rBR/guide_tracking_ids.html @@ -41,8 +41,8 @@

Modificação de URL

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/ru/guide_tracking_ids.html b/app/src/main/assets/ru/guide_tracking_ids.html index e71598e7..da525822 100644 --- a/app/src/main/assets/ru/guide_tracking_ids.html +++ b/app/src/main/assets/ru/guide_tracking_ids.html @@ -38,8 +38,8 @@

Модификация URL

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/assets/tr/guide_tracking_ids.html b/app/src/main/assets/tr/guide_tracking_ids.html index 30db11e4..31d1d6fb 100644 --- a/app/src/main/assets/tr/guide_tracking_ids.html +++ b/app/src/main/assets/tr/guide_tracking_ids.html @@ -38,8 +38,8 @@

URL Modifikasyonu

-

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from the queries of URLs. - There is a blog post that is updated with the current list of queries. +

Privacy Browser removes tracking IDs and AMP (Accelerated Mobile Pages) redirects from URL queries. + There is a blog post that is updated with the current list of modifications. URL modification can be turned off in the settings if it is causing issues.

\ No newline at end of file diff --git a/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java b/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java index bf864c11..e79e399e 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java +++ b/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java @@ -66,6 +66,7 @@ public class SettingsFragment extends PreferenceFragmentCompat { private Preference formDataPreference; // The form data preference can be removed once the minimum API >= 26. private Preference userAgentPreference; private Preference customUserAgentPreference; + private Preference xRequestedWithHeaderPreference; private Preference incognitoModePreference; private Preference allowScreenshotsPreference; private Preference easyListPreference; @@ -132,6 +133,7 @@ public class SettingsFragment extends PreferenceFragmentCompat { formDataPreference = findPreference("save_form_data"); // The form data preference can be removed once the minimum API >= 26. userAgentPreference = findPreference("user_agent"); customUserAgentPreference = findPreference("custom_user_agent"); + xRequestedWithHeaderPreference = findPreference(getString(R.string.x_requested_with_header_key)); incognitoModePreference = findPreference("incognito_mode"); allowScreenshotsPreference = findPreference(getString(R.string.allow_screenshots_key)); easyListPreference = findPreference("easylist"); @@ -175,6 +177,7 @@ public class SettingsFragment extends PreferenceFragmentCompat { assert formDataPreference != null; assert userAgentPreference != null; assert customUserAgentPreference != null; + assert xRequestedWithHeaderPreference != null; assert incognitoModePreference != null; assert allowScreenshotsPreference != null; assert easyListPreference != null; @@ -431,47 +434,47 @@ public class SettingsFragment extends PreferenceFragmentCompat { // Set the save form data icon if API < 26. Save form data has no effect on API >= 26. if (Build.VERSION.SDK_INT < 26) { - if (sharedPreferences.getBoolean("save_form_data", false)) { + if (sharedPreferences.getBoolean("save_form_data", false)) formDataPreference.setIcon(R.drawable.form_data_enabled); - } else { + else formDataPreference.setIcon(R.drawable.form_data_disabled); - } } // Set the custom user agent icon. - if (customUserAgentPreference.isEnabled()) { + if (customUserAgentPreference.isEnabled()) customUserAgentPreference.setIcon(R.drawable.custom_user_agent_enabled); - } else { + else customUserAgentPreference.setIcon(R.drawable.custom_user_agent_ghosted); - } + + // Set the X-Requested With header icon. + if (sharedPreferences.getBoolean(getString(R.string.x_requested_with_header_key), true)) + xRequestedWithHeaderPreference.setIcon(R.drawable.x_requested_with_header_enabled); + else + xRequestedWithHeaderPreference.setIcon(R.drawable.x_requested_with_header_disabled); // Set the incognito mode icon. - if (sharedPreferences.getBoolean("incognito_mode", false)) { + if (sharedPreferences.getBoolean("incognito_mode", false)) incognitoModePreference.setIcon(R.drawable.incognito_mode_enabled); - } else { + else incognitoModePreference.setIcon(R.drawable.incognito_mode_disabled); - } // Set the allow screenshots icon. - if (sharedPreferences.getBoolean(getString(R.string.allow_screenshots_key), false)) { + if (sharedPreferences.getBoolean(getString(R.string.allow_screenshots_key), false)) allowScreenshotsPreference.setIcon(R.drawable.allow_screenshots_enabled); - } else { + else allowScreenshotsPreference.setIcon(R.drawable.allow_screenshots_disabled); - } // Set the EasyList icon. - if (sharedPreferences.getBoolean("easylist", true)) { + if (sharedPreferences.getBoolean("easylist", true)) easyListPreference.setIcon(R.drawable.block_ads_enabled); - } else { + else easyListPreference.setIcon(R.drawable.block_ads_disabled); - } // Set the EasyPrivacy icon. - if (sharedPreferences.getBoolean("easyprivacy", true)) { + if (sharedPreferences.getBoolean("easyprivacy", true)) easyPrivacyPreference.setIcon(R.drawable.block_tracking_enabled); - } else { + else easyPrivacyPreference.setIcon(R.drawable.block_tracking_disabled); - } // Set the Fanboy lists icons. if (fanboyAnnoyanceListEnabled) { @@ -840,22 +843,28 @@ public class SettingsFragment extends PreferenceFragmentCompat { customUserAgentPreference.setSummary(sharedPreferences.getString("custom_user_agent", context.getString(R.string.custom_user_agent_default_value))); break; + case "x_requested_with_header": + // Update the icon. + if (sharedPreferences.getBoolean(context.getString(R.string.x_requested_with_header_key), true)) + xRequestedWithHeaderPreference.setIcon(R.drawable.x_requested_with_header_enabled); + else + xRequestedWithHeaderPreference.setIcon(R.drawable.x_requested_with_header_disabled); + break; + case "incognito_mode": // Update the icon. - if (sharedPreferences.getBoolean("incognito_mode", false)) { + if (sharedPreferences.getBoolean("incognito_mode", false)) incognitoModePreference.setIcon(R.drawable.incognito_mode_enabled); - } else { + else incognitoModePreference.setIcon(R.drawable.incognito_mode_disabled); - } break; case "allow_screenshots": // Update the icon. - if (sharedPreferences.getBoolean(context.getString(R.string.allow_screenshots_key), false)) { + if (sharedPreferences.getBoolean(context.getString(R.string.allow_screenshots_key), false)) allowScreenshotsPreference.setIcon(R.drawable.allow_screenshots_enabled); - } else { + else allowScreenshotsPreference.setIcon(R.drawable.allow_screenshots_disabled); - } // Restart Privacy Browser. restartPrivacyBrowser(); @@ -863,20 +872,18 @@ public class SettingsFragment extends PreferenceFragmentCompat { case "easylist": // Update the icon. - if (sharedPreferences.getBoolean("easylist", true)) { + if (sharedPreferences.getBoolean("easylist", true)) easyListPreference.setIcon(R.drawable.block_ads_enabled); - } else { + else easyListPreference.setIcon(R.drawable.block_ads_disabled); - } break; case "easyprivacy": // Update the icon. - if (sharedPreferences.getBoolean("easyprivacy", true)) { + if (sharedPreferences.getBoolean("easyprivacy", true)) easyPrivacyPreference.setIcon(R.drawable.block_tracking_enabled); - } else { + else easyPrivacyPreference.setIcon(R.drawable.block_tracking_disabled); - } break; case "fanboys_annoyance_list": diff --git a/app/src/main/res/drawable/about.xml b/app/src/main/res/drawable/about.xml index f364c440..90444f68 100644 --- a/app/src/main/res/drawable/about.xml +++ b/app/src/main/res/drawable/about.xml @@ -4,8 +4,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > diff --git a/app/src/main/res/drawable/clear_cookies_enabled.xml b/app/src/main/res/drawable/clear_cookies_enabled.xml index 6ff2175d..56ccbe30 100644 --- a/app/src/main/res/drawable/clear_cookies_enabled.xml +++ b/app/src/main/res/drawable/clear_cookies_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/clear_dom_storage_disabled.xml b/app/src/main/res/drawable/clear_dom_storage_disabled.xml index c0282301..6214477a 100644 --- a/app/src/main/res/drawable/clear_dom_storage_disabled.xml +++ b/app/src/main/res/drawable/clear_dom_storage_disabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/clear_dom_storage_enabled.xml b/app/src/main/res/drawable/clear_dom_storage_enabled.xml index f74303c5..d92cf944 100644 --- a/app/src/main/res/drawable/clear_dom_storage_enabled.xml +++ b/app/src/main/res/drawable/clear_dom_storage_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/clear_form_data_disabled.xml b/app/src/main/res/drawable/clear_form_data_disabled.xml index 28517b8c..d25a17ed 100644 --- a/app/src/main/res/drawable/clear_form_data_disabled.xml +++ b/app/src/main/res/drawable/clear_form_data_disabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/clear_form_data_enabled.xml b/app/src/main/res/drawable/clear_form_data_enabled.xml index f647442d..237d4b71 100644 --- a/app/src/main/res/drawable/clear_form_data_enabled.xml +++ b/app/src/main/res/drawable/clear_form_data_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/clear_logcat_disabled.xml b/app/src/main/res/drawable/clear_logcat_disabled.xml index d46f12ff..67774c84 100644 --- a/app/src/main/res/drawable/clear_logcat_disabled.xml +++ b/app/src/main/res/drawable/clear_logcat_disabled.xml @@ -4,8 +4,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > diff --git a/app/src/main/res/drawable/cookies_enabled.xml b/app/src/main/res/drawable/cookies_enabled.xml index 2bae3e36..9f1c3f89 100644 --- a/app/src/main/res/drawable/cookies_enabled.xml +++ b/app/src/main/res/drawable/cookies_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/dom_storage_disabled.xml b/app/src/main/res/drawable/dom_storage_disabled.xml index 2c24e98b..f6de6633 100644 --- a/app/src/main/res/drawable/dom_storage_disabled.xml +++ b/app/src/main/res/drawable/dom_storage_disabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/dom_storage_enabled.xml b/app/src/main/res/drawable/dom_storage_enabled.xml index 1a50aafc..360f1cd6 100644 --- a/app/src/main/res/drawable/dom_storage_enabled.xml +++ b/app/src/main/res/drawable/dom_storage_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/dom_storage_ghosted.xml b/app/src/main/res/drawable/dom_storage_ghosted.xml index 9f380132..f672ceb1 100644 --- a/app/src/main/res/drawable/dom_storage_ghosted.xml +++ b/app/src/main/res/drawable/dom_storage_ghosted.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/download_with_external_app_disabled.xml b/app/src/main/res/drawable/download_with_external_app_disabled.xml index 1811e120..42438e36 100644 --- a/app/src/main/res/drawable/download_with_external_app_disabled.xml +++ b/app/src/main/res/drawable/download_with_external_app_disabled.xml @@ -22,8 +22,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0" + android:viewportHeight="24" + android:viewportWidth="24" android:autoMirrored="true" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > diff --git a/app/src/main/res/drawable/form_data_enabled.xml b/app/src/main/res/drawable/form_data_enabled.xml index 4bb02cb3..38096072 100644 --- a/app/src/main/res/drawable/form_data_enabled.xml +++ b/app/src/main/res/drawable/form_data_enabled.xml @@ -2,8 +2,8 @@ diff --git a/app/src/main/res/drawable/forward.xml b/app/src/main/res/drawable/forward.xml index 25632fcf..370332fa 100644 --- a/app/src/main/res/drawable/forward.xml +++ b/app/src/main/res/drawable/forward.xml @@ -4,8 +4,8 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:width="24dp" - android:viewportHeight="24.0" - android:viewportWidth="24.0" + android:viewportHeight="24" + android:viewportWidth="24" android:autoMirrored="true" > + android:height="24dp" + android:width="24dp" + android:viewportHeight="256" + android:viewportWidth="256" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:height="24dp" + android:width="24dp" + android:viewportHeight="256" + android:viewportWidth="256" > + android:viewportHeight="24" + android:viewportWidth="24" > + android:height="24dp" + android:width="24dp" + android:viewportHeight="256" + android:viewportWidth="256" > + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/x_requested_with_header_enabled.xml b/app/src/main/res/drawable/x_requested_with_header_enabled.xml new file mode 100644 index 00000000..9669394a --- /dev/null +++ b/app/src/main/res/drawable/x_requested_with_header_enabled.xml @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 62d72549..51446d47 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -3,7 +3,7 @@ Löscht in Formulare eingegebene Daten. - Logcat leeren + Logcat leeren Leert das Logcat Systemlogbuch. Cache löschen Löscht den WebView-Cache. diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 5aac801c..fe9e2db4 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -3,7 +3,7 @@ Borra los datos de formulario. - Borrar logcat + Borrar logcat Borra el logcat. Borrar caché Borra la caché de WebView. diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 913c5946..20a6c436 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -549,7 +549,7 @@ Efface le stockage du DOM. Effacer les données de formulaire Efface les données de formulaire. - Vider logcat + Vider logcat Vide le logcat. Effacer cache Efface le cache WebView. diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 56d7aba3..fac20943 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -3,7 +3,7 @@ Cancella solo i dati dei moduli. - Elimina il logcat + Elimina il logcat Cancella il logcat. Elimina la cache Cancella solo la cache di WebView. diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index 8e62c196..4330292b 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -546,7 +546,7 @@ Limpa o armazenamento DOM. Limpar dados do formulário Limpa os dados do formulário. - Limpar Logcat + Limpar Logcat Limpar os Logcats. Limpar cache Limpa o cache do WebView. diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index c08cba29..38386032 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -544,7 +544,7 @@ Очищает DOM-хранилище. Очистка данных формы Очищает данные формы. - Очистить logcat + Очистить logcat Очищает logcat. Очистить кэш Очищает кэш WebView. diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4162936a..4f9ce7f3 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -521,6 +521,8 @@ Custom user agent System default user agent + X-Requested-With header + When enabled, Privacy Browser send a null value for the X-Requested-With header. Usually this isn\'t a problem, but a few websites don\'t like it. Incognito Mode Clear the history and cache after each webpage finishes loading. In Incognito Mode, back closes the tab (or the app if there is only one tab). Allow screenshots @@ -602,7 +604,7 @@ Clears DOM storage. Clear form data Clears form data. - Clear logcat + Clear logcat Clears the logcat. Clear cache Clears WebView’s cache. @@ -659,6 +661,7 @@ proxy_custom_url scroll_app_bar tracking_queries + x_requested_with_header System default diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index 5d1abb9b..a27c1d83 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -30,7 +30,7 @@ android:defaultValue="false" /> @@ -63,6 +63,12 @@ android:defaultValue="@string/custom_user_agent_default_value" android:inputType="textVisiblePassword|textMultiLine" /> + + @@ -128,13 +134,13 @@ android:title="@string/url_modification" > @@ -171,7 +177,7 @@ android:defaultValue="@string/proxy_default_value" /> @@ -224,8 +230,8 @@ android:defaultValue="true" /> @@ -268,25 +274,25 @@ android:defaultValue="true" /> -- 2.45.2