From d941ca283544e1c3231f59796a3f64270e747a99 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Sat, 17 Apr 2021 16:20:08 -0700 Subject: [PATCH] Remove Do Not Track. https://redmine.stoutner.com/issues/668 --- .../activities/MainWebViewActivity.java | 8 ----- .../activities/ViewSourceActivity.kt | 12 ++----- .../GetSourceBackgroundTask.java | 23 ++---------- .../fragments/SettingsFragment.java | 35 ------------------- .../helpers/ImportExportDatabaseHelper.java | 10 +++--- .../WebViewSourceFactory.kt | 6 ++-- .../viewmodels/WebViewSource.kt | 8 ++--- app/src/main/res/values-de/strings.xml | 2 -- app/src/main/res/values-es/strings.xml | 2 -- app/src/main/res/values-fr/strings.xml | 2 -- app/src/main/res/values-it/strings.xml | 2 -- app/src/main/res/values-pt-rBR/strings.xml | 2 -- app/src/main/res/values-ru/strings.xml | 2 -- app/src/main/res/values-tr/strings.xml | 2 -- app/src/main/res/values/strings.xml | 3 -- app/src/main/res/xml/preferences.xml | 6 ---- 16 files changed, 17 insertions(+), 108 deletions(-) diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index d7a74231..d89e287b 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -3605,7 +3605,6 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // Store the values from the shared preferences in variables. incognitoModeEnabled = sharedPreferences.getBoolean("incognito_mode", false); - boolean doNotTrackEnabled = sharedPreferences.getBoolean("do_not_track", false); sanitizeGoogleAnalytics = sharedPreferences.getBoolean("google_analytics", true); sanitizeFacebookClickIds = sharedPreferences.getBoolean("facebook_click_ids", true); sanitizeTwitterAmpRedirects = sharedPreferences.getBoolean("twitter_amp_redirects", true); @@ -3636,13 +3635,6 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // Apply the proxy. applyProxy(false); - // Set Do Not Track status. - if (doNotTrackEnabled) { - customHeaders.put("DNT", "1"); - } else { - customHeaders.remove("DNT"); - } - // Get the current layout parameters. Using coordinator layout parameters allows the `setBehavior()` command and using app bar layout parameters allows the `setScrollFlags()` command. CoordinatorLayout.LayoutParams swipeRefreshLayoutParams = (CoordinatorLayout.LayoutParams) swipeRefreshLayout.getLayoutParams(); AppBarLayout.LayoutParams toolbarLayoutParams = (AppBarLayout.LayoutParams) toolbar.getLayoutParams(); diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.kt b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.kt index 64e4ee98..173313f6 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/ViewSourceActivity.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2017-2020 Soren Stoutner . + * Copyright © 2017-2021 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -183,9 +183,6 @@ class ViewSourceActivity: AppCompatActivity() { // Set the swipe refresh background color. swipeRefreshLayout.setProgressBackgroundColorSchemeColor(colorBackgroundInt) - // Get the Do Not Track status. - val doNotTrack = sharedPreferences.getBoolean(getString(R.string.do_not_track_key), false) - // Populate the locale string. val localeString = if (Build.VERSION.SDK_INT >= 24) { // SDK >= 24 has a list of locales. // Get the list of locales. @@ -257,7 +254,7 @@ class ViewSourceActivity: AppCompatActivity() { progressBar.isIndeterminate = true // Instantiate the WebView source factory. - val webViewSourceFactory: ViewModelProvider.Factory = WebViewSourceFactory(currentUrl!!, userAgent!!, doNotTrack, localeString, proxy, MainWebViewActivity.executorService) + val webViewSourceFactory: ViewModelProvider.Factory = WebViewSourceFactory(currentUrl!!, userAgent!!, localeString, proxy, MainWebViewActivity.executorService) // Instantiate the WebView source view model class. val webViewSource = ViewModelProvider(this, webViewSourceFactory).get(WebViewSource::class.java) @@ -375,11 +372,8 @@ class ViewSourceActivity: AppCompatActivity() { // Get the index of the `/` immediately after the domain name. val endOfDomainName = urlString.indexOf("/", urlString.indexOf("//") + 2) - // Create a base URL string. - val baseUrl: String - // Get the base URL. - baseUrl = if (endOfDomainName > 0) { // There is at least one character after the base URL. + val baseUrl = if (endOfDomainName > 0) { // There is at least one character after the base URL. // Get the base URL. urlString.substring(0, endOfDomainName) } else { // There are no characters after the base URL. diff --git a/app/src/main/java/com/stoutner/privacybrowser/backgroundtasks/GetSourceBackgroundTask.java b/app/src/main/java/com/stoutner/privacybrowser/backgroundtasks/GetSourceBackgroundTask.java index 2c900646..3ecac1d6 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/backgroundtasks/GetSourceBackgroundTask.java +++ b/app/src/main/java/com/stoutner/privacybrowser/backgroundtasks/GetSourceBackgroundTask.java @@ -1,5 +1,5 @@ /* - * Copyright © 2017-2020 Soren Stoutner . + * Copyright © 2017-2021 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -37,7 +37,7 @@ import java.net.Proxy; import java.net.URL; public class GetSourceBackgroundTask { - public SpannableStringBuilder[] acquire(String urlString, String userAgent, boolean doNotTrack, String localeString, Proxy proxy, WebViewSource webViewSource) { + public SpannableStringBuilder[] acquire(String urlString, String userAgent, String localeString, Proxy proxy, WebViewSource webViewSource) { // Initialize the spannable string builders. SpannableStringBuilder requestHeadersBuilder = new SpannableStringBuilder(); SpannableStringBuilder responseMessageBuilder = new SpannableStringBuilder(); @@ -187,25 +187,6 @@ public class GetSourceBackgroundTask { requestHeadersBuilder.append(": ?1"); - // Only populate `Do Not Track` if it is enabled. - if (doNotTrack) { - // Set the `dnt` header property. - httpUrlConnection.setRequestProperty("dnt", "1"); - - // Add the `dnt` header to the string builder and format the text. - requestHeadersBuilder.append(System.getProperty("line.separator")); - if (Build.VERSION.SDK_INT >= 21) { // Newer versions of Android are so smart. - requestHeadersBuilder.append("dnt", new StyleSpan(Typeface.BOLD), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); - } else { // Older versions not so much. - oldRequestHeadersBuilderLength = requestHeadersBuilder.length(); - requestHeadersBuilder.append("dnt"); - newRequestHeadersBuilderLength = requestHeadersBuilder.length(); - requestHeadersBuilder.setSpan(new StyleSpan(Typeface.BOLD), oldRequestHeadersBuilderLength, newRequestHeadersBuilderLength, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); - } - requestHeadersBuilder.append(": 1"); - } - - // Set the `Accept` header property. httpUrlConnection.setRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3"); 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 df93fa10..ef0f1b9a 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java +++ b/app/src/main/java/com/stoutner/privacybrowser/fragments/SettingsFragment.java @@ -80,7 +80,6 @@ public class SettingsFragment extends PreferenceFragmentCompat { Preference userAgentPreference = findPreference("user_agent"); Preference customUserAgentPreference = findPreference("custom_user_agent"); Preference incognitoModePreference = findPreference("incognito_mode"); - Preference doNotTrackPreference = findPreference("do_not_track"); Preference allowScreenshotsPreference = findPreference(getString(R.string.allow_screenshots_key)); Preference easyListPreference = findPreference("easylist"); Preference easyPrivacyPreference = findPreference("easyprivacy"); @@ -124,7 +123,6 @@ public class SettingsFragment extends PreferenceFragmentCompat { assert userAgentPreference != null; assert customUserAgentPreference != null; assert incognitoModePreference != null; - assert doNotTrackPreference != null; assert allowScreenshotsPreference != null; assert easyListPreference != null; assert easyPrivacyPreference != null; @@ -469,21 +467,6 @@ public class SettingsFragment extends PreferenceFragmentCompat { } } - // Set the Do Not Track icon. - if (savedPreferences.getBoolean("do_not_track", false)) { - if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) { - doNotTrackPreference.setIcon(R.drawable.block_tracking_enabled_night); - } else { - doNotTrackPreference.setIcon(R.drawable.block_tracking_enabled_day); - } - } else { - if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) { - doNotTrackPreference.setIcon(R.drawable.block_tracking_disabled_night); - } else { - doNotTrackPreference.setIcon(R.drawable.block_tracking_disabled_day); - } - } - // Set the allow screenshots icon. if (savedPreferences.getBoolean(getString(R.string.allow_screenshots_key), false)) { if (currentThemeStatus == Configuration.UI_MODE_NIGHT_NO) { @@ -1138,24 +1121,6 @@ public class SettingsFragment extends PreferenceFragmentCompat { } break; - case "do_not_track": - // Update the icon. - if (sharedPreferences.getBoolean("do_not_track", false)) { - if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) { - doNotTrackPreference.setIcon(R.drawable.block_tracking_enabled_night); - } else { - doNotTrackPreference.setIcon(R.drawable.block_tracking_enabled_day); - } - } else { - if (currentThemeStatus == Configuration.UI_MODE_NIGHT_YES) { - doNotTrackPreference.setIcon(R.drawable.block_tracking_disabled_night); - } else { - doNotTrackPreference.setIcon(R.drawable.block_tracking_disabled_day); - } - } - - break; - case "allow_screenshots": // Update the icon. if (sharedPreferences.getBoolean(getString(R.string.allow_screenshots_key), false)) { diff --git a/app/src/main/java/com/stoutner/privacybrowser/helpers/ImportExportDatabaseHelper.java b/app/src/main/java/com/stoutner/privacybrowser/helpers/ImportExportDatabaseHelper.java index f3a4a8db..b1aa0c61 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/helpers/ImportExportDatabaseHelper.java +++ b/app/src/main/java/com/stoutner/privacybrowser/helpers/ImportExportDatabaseHelper.java @@ -41,7 +41,7 @@ public class ImportExportDatabaseHelper { public static final String IMPORT_SUCCESSFUL = "Import Successful"; // Declare the class constants. - private static final int SCHEMA_VERSION = 13; + private static final int SCHEMA_VERSION = 14; private static final String PREFERENCES_TABLE = "preferences"; // Declare the preferences constants. @@ -54,7 +54,6 @@ public class ImportExportDatabaseHelper { private static final String USER_AGENT = "user_agent"; private static final String CUSTOM_USER_AGENT = "custom_user_agent"; private static final String INCOGNITO_MODE = "incognito_mode"; - private static final String DO_NOT_TRACK = "do_not_track"; private static final String ALLOW_SCREENSHOTS = "allow_screenshots"; private static final String EASYLIST = "easylist"; private static final String EASYPRIVACY = "easyprivacy"; @@ -345,6 +344,10 @@ public class ImportExportDatabaseHelper { // Upgrade from schema version 12, Privacy Browser 3.6. case 12: // Do nothing. `download_location` and `download_custom_location` were removed from the preferences table. + + // Upgrade from schema version 13, Privacy Browser 3.7 + case 13: + // Do nothing. `do_not_track` was removed from the preferences table. } } @@ -469,7 +472,6 @@ public class ImportExportDatabaseHelper { .putString(USER_AGENT, importPreferencesCursor.getString(importPreferencesCursor.getColumnIndex(USER_AGENT))) .putString(CUSTOM_USER_AGENT, importPreferencesCursor.getString(importPreferencesCursor.getColumnIndex(CUSTOM_USER_AGENT))) .putBoolean(INCOGNITO_MODE, importPreferencesCursor.getInt(importPreferencesCursor.getColumnIndex(INCOGNITO_MODE)) == 1) - .putBoolean(DO_NOT_TRACK, importPreferencesCursor.getInt(importPreferencesCursor.getColumnIndex(DO_NOT_TRACK)) == 1) .putBoolean(ALLOW_SCREENSHOTS, importPreferencesCursor.getInt(importPreferencesCursor.getColumnIndex(ALLOW_SCREENSHOTS)) == 1) .putBoolean(EASYLIST, importPreferencesCursor.getInt(importPreferencesCursor.getColumnIndex(EASYLIST)) == 1) .putBoolean(EASYPRIVACY, importPreferencesCursor.getInt(importPreferencesCursor.getColumnIndex(EASYPRIVACY)) == 1) @@ -640,7 +642,6 @@ public class ImportExportDatabaseHelper { USER_AGENT + " TEXT, " + CUSTOM_USER_AGENT + " TEXT, " + INCOGNITO_MODE + " BOOLEAN, " + - DO_NOT_TRACK + " BOOLEAN, " + ALLOW_SCREENSHOTS + " BOOLEAN, " + EASYLIST + " BOOLEAN, " + EASYPRIVACY + " BOOLEAN, " + @@ -691,7 +692,6 @@ public class ImportExportDatabaseHelper { preferencesContentValues.put(USER_AGENT, sharedPreferences.getString(USER_AGENT, context.getString(R.string.user_agent_default_value))); preferencesContentValues.put(CUSTOM_USER_AGENT, sharedPreferences.getString(CUSTOM_USER_AGENT, context.getString(R.string.custom_user_agent_default_value))); preferencesContentValues.put(INCOGNITO_MODE, sharedPreferences.getBoolean(INCOGNITO_MODE, false)); - preferencesContentValues.put(DO_NOT_TRACK, sharedPreferences.getBoolean(DO_NOT_TRACK, false)); preferencesContentValues.put(ALLOW_SCREENSHOTS, sharedPreferences.getBoolean(ALLOW_SCREENSHOTS, false)); preferencesContentValues.put(EASYLIST, sharedPreferences.getBoolean(EASYLIST, true)); preferencesContentValues.put(EASYPRIVACY, sharedPreferences.getBoolean(EASYPRIVACY, true)); diff --git a/app/src/main/java/com/stoutner/privacybrowser/viewmodelfactories/WebViewSourceFactory.kt b/app/src/main/java/com/stoutner/privacybrowser/viewmodelfactories/WebViewSourceFactory.kt index eeef24f4..870e784e 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/viewmodelfactories/WebViewSourceFactory.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/viewmodelfactories/WebViewSourceFactory.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Soren Stoutner . + * Copyright © 2020-2021 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -25,12 +25,12 @@ import androidx.lifecycle.ViewModelProvider import java.net.Proxy import java.util.concurrent.ExecutorService -class WebViewSourceFactory (private val urlString: String, private val userAgent: String, private val doNotTrack: Boolean, private val localeString: String, private val proxy: Proxy, +class WebViewSourceFactory (private val urlString: String, private val userAgent: String, private val localeString: String, private val proxy: Proxy, private val executorService: ExecutorService): ViewModelProvider.Factory { // Override the create function in order to add the provided arguments. override fun create(modelClass: Class): T { // Return a new instance of the model class with the provided arguments. return modelClass.getConstructor(String::class.java, String::class.java, Boolean::class.java, String::class.java, Proxy::class.java, ExecutorService::class.java) - .newInstance(urlString, userAgent, doNotTrack, localeString, proxy, executorService) + .newInstance(urlString, userAgent, localeString, proxy, executorService) } } \ No newline at end of file diff --git a/app/src/main/java/com/stoutner/privacybrowser/viewmodels/WebViewSource.kt b/app/src/main/java/com/stoutner/privacybrowser/viewmodels/WebViewSource.kt index 1635fe6e..6d650b0c 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/viewmodels/WebViewSource.kt +++ b/app/src/main/java/com/stoutner/privacybrowser/viewmodels/WebViewSource.kt @@ -1,5 +1,5 @@ /* - * Copyright © 2020 Soren Stoutner . + * Copyright © 2020-2021 Soren Stoutner . * * This file is part of Privacy Browser . * @@ -30,7 +30,7 @@ import com.stoutner.privacybrowser.backgroundtasks.GetSourceBackgroundTask import java.net.Proxy import java.util.concurrent.ExecutorService -class WebViewSource(private val urlString: String, private val userAgent: String, private val doNotTrack: Boolean, private val localeString: String, private val proxy: Proxy, +class WebViewSource(private val urlString: String, private val userAgent: String, private val localeString: String, private val proxy: Proxy, private val executorService: ExecutorService): ViewModel() { // Initialize the mutable live data variables. private val mutableLiveDataSourceStringArray = MutableLiveData>() @@ -42,7 +42,7 @@ class WebViewSource(private val urlString: String, private val userAgent: String val getSourceBackgroundTask = GetSourceBackgroundTask() // Get the source. - executorService.execute { mutableLiveDataSourceStringArray.postValue(getSourceBackgroundTask.acquire(urlString, userAgent, doNotTrack, localeString, proxy, this)) } + executorService.execute { mutableLiveDataSourceStringArray.postValue(getSourceBackgroundTask.acquire(urlString, userAgent, localeString, proxy, this)) } } // The source observer. @@ -72,6 +72,6 @@ class WebViewSource(private val urlString: String, private val userAgent: String val getSourceBackgroundTask = GetSourceBackgroundTask() // Get the source. - executorService.execute { mutableLiveDataSourceStringArray.postValue(getSourceBackgroundTask.acquire(urlString, userAgent, doNotTrack, localeString, proxy, this)) } + executorService.execute { mutableLiveDataSourceStringArray.postValue(getSourceBackgroundTask.acquire(urlString, userAgent, localeString, proxy, this)) } } } \ 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 f654e158..362a01dc 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -495,8 +495,6 @@ Inkognito-Modus Löscht den Verlauf und den Cache nach jedem fertigen Laden einer Webseite. Im Incognito-Modus schließt \'Zurück\'-Button den aktive Tab (oder die App, wenn nur ein Tab geöffnet wurde). - Nicht verfolgen (Do not track) - Einen "Do Not Track-Header" senden, der freundlich anfragt, dass Webserver diesen Browser nicht nachverfolgen sollen. Screenshots zulassen Screenshots, Bildschirmvideos und Anzeige auf unsicheren Bildschirmen zulassen. Eine Änderung dieser Einstellung startet Privacy Browser neu. Sperrlisten diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index bd828d57..c957ab56 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -491,8 +491,6 @@ Modo incógnito Borrar el historial y el caché después de que cada página web termine de cargar. En el modo Incógnito, Atrás cierra la pestaña (o la app si hay solo una pestaña). - No rastrear - Enviar la cabecera de no rastrear (DNT) que educadamente sugiere que los servidores web no rastreen este navegador. Permitir capturas de pantalla Permitir capturas de pantalla, grabación de vídeo y visualización en pantallas inseguras. Cambiar esta configuración reiniciará Navegador Privado. Listas de bloqueo diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index fd3ac1d3..214c99b7 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -486,8 +486,6 @@ Mode Incognito Vider l\'historique et le cache après le chargement de chaque page. Dans le mode Incognito, le bouton Retour ferme l\'onglet (ou l\'application s\'il n\'y a qu\'un seul onglet). - Ne pas me pister - Envoyer aux sites web un signal «Ne pas me pister» indiquant poliement que vous ne souhaitez pas être pisté Autoriser captures d\'écrans Autoriser les captures d\'écrans, enregistrements vidéo et affichage sur des écrans non-sécurisés. Changer ce paramètre redémarrera Privacy Browser. Listes noires diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 7e8fc479..2eaf5e6b 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -490,8 +490,6 @@ Modalità Incognito Cancella la cronologia e la cache al termine del caricamento di ogni pagina. In Modalità Incognito, il tasto "Indietro" chiude la scheda (o l\'applicazione se è aperta solo una scheda). - Non tracciare - Invia un\'intestazione di non tracciamento per chiedere al web server di non tracciare il browser. Permetti gli screenshot Permette gli screenshot, la registrazione di video, e la possibilità di visualizzare su schermi non sicuri. La modifica di questa impostazione provoca il riavvio di Privacy Browser. diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml index b384a6c2..7c0aa650 100644 --- a/app/src/main/res/values-pt-rBR/strings.xml +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -484,8 +484,6 @@ Modo de navegação anônima Limpe o histórico e o cache após o término do carregamento de cada página da web. No modo de navegação anônima, volta para fechar a guia (ou o aplicativo, se houver apenas uma guia). - Não rastreie - Envie \'Não Rastreie\' ao cabeçalho, que sugere educadamente que os servidores da web não rastreiam este navegador. Permitir capturas de tela Permitir capturas de tela, gravação de vídeo e visualização em monitores não seguros. Alterar esta configuração irá reiniciar o Privacy Browser. Blocklists diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index a2de6373..cb285746 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -487,8 +487,6 @@ Режим инкогнито Очистка журнала и кэша по завершении загрузки каждой веб-страницы. В режиме инкогнито нажатие кнопки Назад приведет к закрытию вкладки (или приложения, если открыта только одна вкладка). - Не отслеживать - Отправлять заголовок \'Не отслеживать\', предлагающий веб-серверу не отслеживать этот браузер. Разрешить скриншоты Разрешить скриншоты, запись видео и просмотр на незащищенных дисплеях. При изменении этого параметра Privacy Browser будет перезапущен. Списки блокировки diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index acf1af08..9295ac51 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -442,8 +442,6 @@ Özel kullanıcı aracısı Gizli Mod Her web sayfasının yüklenmesi bittikten sonra geçmişi ve önbelleği temizler. In Incognito Mode, back closes the tab (or the app if there is only one tab). - Takip Etme - Web Serverlarına bu tarayıcıyı takip etmemesi için Takip Etme Başlığı gönderir. Ekran görüntülerine izin ver Ekran görüntülerine, video kaydına ve güvenli olmayan ekranlarda görüntülenmeye izin verir. Bu ayarı değiştirmek Privacy Browser uygulamasını yeniden başlatır. diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4a96b1bc..41396165 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -528,8 +528,6 @@ System default user agent 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). - Do Not Track - Send the Do Not Track header, which politely suggests that web servers not track this browser. Allow screenshots Allow screenshots, video recording, and viewing on non-secure displays. Changing this setting will restart Privacy Browser. Blocklists @@ -662,7 +660,6 @@ allow_screenshots - do_not_track clear_logcat display_additional_app_bar_icons diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml index f91b17e4..36448a77 100644 --- a/app/src/main/res/xml/preferences.xml +++ b/app/src/main/res/xml/preferences.xml @@ -75,12 +75,6 @@ android:summary="@string/incognito_mode_summary" android:defaultValue="false" /> - -