From: Soren Stoutner Date: Mon, 23 Jul 2018 22:03:26 +0000 (-0700) Subject: Fix “Waiting for Orbot”. https://redmine.stoutner.com/issues/307 X-Git-Tag: v2.12~11 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=c3f5fb6cb3db4582c15beda3219a84d23ede1ce2;p=PrivacyBrowserAndroid.git Fix “Waiting for Orbot”. https://redmine.stoutner.com/issues/307 --- diff --git a/app/src/main/assets/es/guide_requests_dark.html b/app/src/main/assets/es/guide_requests_dark.html index 098f511e..cdab0599 100644 --- a/app/src/main/assets/es/guide_requests_dark.html +++ b/app/src/main/assets/es/guide_requests_dark.html @@ -26,16 +26,17 @@ -

Resource Requests

+

Peticiones de recursos

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

Cuando se carga una URL, normalmente realiza una serie de peticiones de recursos para CCS, JavaScript, imágenes y otros archivos. + Los detalles sobre estas solicitudes se pueden ver en la Actividad de peticiones. El cajón de navegación tiene un enlace a la Actividad de peticiones y también muestra cuántas órdenes se bloquearon. + Al tocar una solicitud se muestran los detalles de por qué se ha permitido o bloqueado.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Navegador Privado incluye cuatro listas de bloqueo basadas en la sintaxis de Adblock: + EasyList, EasyPrivacy, Lista molesta de Fanboy y Lista de bloqueo social de Fanboy. + Estas listas de bloqueo son procesadas por Navegador Privado en las siguientes 22 sublistas, que verifican las solicitudes de recursos en el orden listado.

  1. Lista blanca principal
  2. @@ -62,18 +63,20 @@
  3. Lista negra de expresiones regulares
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Las listas iniciales se comparan con el principio de la URL. Las listas finales se comparan con el final de la URL. Las listas de dominios sólo se comparan con ciertos dominios. + Las listas de terceras partes sólo se aplican si el dominio raíz de la solicitud es diferente del dominio raíz de la URL principal. + Las listas de expresiones regulares siguen la sintaxis de las expresiones regulares. + Cada elemento de la sublista tiene una o más entradas. + En el caso de sublistas de dominio, la solicitud de recurso sólo se compara con el artículo si la primera entrada coincide con el dominio de la URL principal.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

Debido a las limitaciones del WebView de Android, y para acelerar el procesamiento de las solicitudes, Navegador Privado implementa una interpretación simplificada de la sintaxis de Adblock. + Esto puede conducir a veces a falsos positivos, en los que los recursos se permiten o bloquean de formas que no estaban previstas en la entrada original. + Una descripción más detallada de cómo se procesan las entradas de la lista de bloqueo está disponible en stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Navegador Privado tiene una quinta lista de bloqueo que bloquea todas las solicitudes de terceras partes. + Una solicitud sólo se considera de terceras partes si el dominio base de la solicitud es diferente del dominio base de la URL. + Por ejemplo, si www.website.com carga una imagen de images.website.com, + esto no se bloquea como petición de una tercera parte porque ambos comparten el mismo dominio base de website.com. + El bloqueo de todas las solicitudes de terceras partes aumenta la privacidad, pero esta lista de bloqueo está desactivada por defecto porque rompe un gran número de páginas web.

\ No newline at end of file diff --git a/app/src/main/assets/es/guide_requests_light.html b/app/src/main/assets/es/guide_requests_light.html index 2c6cee85..b162ed18 100644 --- a/app/src/main/assets/es/guide_requests_light.html +++ b/app/src/main/assets/es/guide_requests_light.html @@ -26,16 +26,17 @@ -

Resource Requests

+

Peticiones de recursos

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

Cuando se carga una URL, normalmente realiza una serie de peticiones de recursos para CCS, JavaScript, imágenes y otros archivos. + Los detalles sobre estas solicitudes se pueden ver en la Actividad de peticiones. El cajón de navegación tiene un enlace a la Actividad de peticiones y también muestra cuántas órdenes se bloquearon. + Al tocar una solicitud se muestran los detalles de por qué se ha permitido o bloqueado.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Navegador Privado incluye cuatro listas de bloqueo basadas en la sintaxis de Adblock: + EasyList, EasyPrivacy, Lista molesta de Fanboy y Lista de bloqueo social de Fanboy. + Estas listas de bloqueo son procesadas por Navegador Privado en las siguientes 22 sublistas, que verifican las solicitudes de recursos en el orden listado.

  1. Lista blanca principal
  2. @@ -62,18 +63,20 @@
  3. Lista negra de expresiones regulares
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Las listas iniciales se comparan con el principio de la URL. Las listas finales se comparan con el final de la URL. Las listas de dominios sólo se comparan con ciertos dominios. + Las listas de terceras partes sólo se aplican si el dominio raíz de la solicitud es diferente del dominio raíz de la URL principal. + Las listas de expresiones regulares siguen la sintaxis de las expresiones regulares. + Cada elemento de la sublista tiene una o más entradas. + En el caso de sublistas de dominio, la solicitud de recurso sólo se compara con el artículo si la primera entrada coincide con el dominio de la URL principal.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

Debido a las limitaciones del WebView de Android, y para acelerar el procesamiento de las solicitudes, Navegador Privado implementa una interpretación simplificada de la sintaxis de Adblock. + Esto puede conducir a veces a falsos positivos, en los que los recursos se permiten o bloquean de formas que no estaban previstas en la entrada original. + Una descripción más detallada de cómo se procesan las entradas de la lista de bloqueo está disponible en stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Navegador Privado tiene una quinta lista de bloqueo que bloquea todas las solicitudes de terceras partes. + Una solicitud sólo se considera de terceras partes si el dominio base de la solicitud es diferente del dominio base de la URL. + Por ejemplo, si www.website.com carga una imagen de images.website.com, + esto no se bloquea como petición de una tercera parte porque ambos comparten el mismo dominio base de website.com. + El bloqueo de todas las solicitudes de terceras partes aumenta la privacidad, pero esta lista de bloqueo está desactivada por defecto porque rompe un gran número de páginas web.

\ No newline at end of file diff --git a/app/src/main/assets/it/guide_requests_dark.html b/app/src/main/assets/it/guide_requests_dark.html index 920d7ee0..aeb20fb9 100644 --- a/app/src/main/assets/it/guide_requests_dark.html +++ b/app/src/main/assets/it/guide_requests_dark.html @@ -26,16 +26,18 @@ -

Resource Requests

+

Richieste di Risorse

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

Quando viene caricata un URL, generalmente effettua un certo numero di richieste di risorse per CCS, JavaScript, immagini, e altri files. + I dettagli relativi a queste richieste possono essere visualizzati nella scheda delle Richieste. + Il menù a cassetto ha un collegamento alla scheda delle richieste e mostra quante sono state bloccate. + Se si tocca una delle richieste in elenco vengono mostrati i dettagli sui motivi per cui è stata permessa o bloccata.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Privacy Browser include quattro liste di blocco basate sulla Sintassi di Adblock: + EasyList, EasyPrivacy, Fanboy’s Annoyance List, e Fanboy’s Social Blocking List. + Queste blocklist sono processate da Privacy Browser nelle seguenti 22 liste secondarie, che verificano le richieste di risorse nell'ordine elencato.

  1. Whitelist principale
  2. @@ -62,18 +64,20 @@
  3. Blacklist per le espressioni regolari
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Le liste iniziali servono per la verifica della parte iniziale delle URL. Le liste iniziali servono per la verifica della parte finale delle URL. + Le liste dei domini servono per la verifica di certi domini. Le liste di terze parti si applicano solo se il dominio di root della richiesta è diverso dal dominio di root della URL principale. + Le liste per le espressioni regolari seguono la sintassi delle espressioni regolari. + Ogni oggetto delle liste secondarie ha uno o più elementi. + Nel caso delle liste secondarie dei domini, la richiesta di risorse è verificata solo se il primo elemento combacia con il dominio della URL principale.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

A causa delle limitazioni della WebView di Android, e per velocizzare il processo delle richiesta, Privacy Browser implementa una versione semplificata della sintassi di Adblock. + Questo approccio potrebbe a volte portare ad avere falsi positivi, nel caso in cui le risorse siano bloccate o permesse in modi che non erano previsti dall'elemento originale. + Una descrizione più dettagliata su come sono processati gli elementi delle liste di blocco è disponibile su stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Privacy Browser ha una quinta lista di blocco che blocca tutte le richieste di terze parti. + Una richiesta è considerata di terze parti solo se il dominio di base della richiesta è diverso dal dominio di base della URL. + Ad esempio se www.website.com carica un'immagine da images.website.com, + questa non è bloccata come richiesta di terze parti, perchè il dominio di base è lo stesso: website.com. + Il blocco di tutte le richieste di terze parti aumenta la privacy, ma questa lista di blocco è disabilitata di default perchè impedisce la corretta visualizzazione di un gran numero di siti web.

\ No newline at end of file diff --git a/app/src/main/assets/it/guide_requests_light.html b/app/src/main/assets/it/guide_requests_light.html index 73cef4bc..adfe890e 100644 --- a/app/src/main/assets/it/guide_requests_light.html +++ b/app/src/main/assets/it/guide_requests_light.html @@ -26,16 +26,18 @@ -

Resource Requests

+

Richieste di Risorse

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

Quando viene caricata un URL, generalmente effettua un certo numero di richieste di risorse per CCS, JavaScript, immagini, e altri files. + I dettagli relativi a queste richieste possono essere visualizzati nella scheda delle Richieste. + Il menù a cassetto ha un collegamento alla scheda delle richieste e mostra quante sono state bloccate. + Se si tocca una delle richieste in elenco vengono mostrati i dettagli sui motivi per cui è stata permessa o bloccata.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Privacy Browser include quattro liste di blocco basate sulla Sintassi di Adblock: + EasyList, EasyPrivacy, Fanboy’s Annoyance List, e Fanboy’s Social Blocking List. + Queste blocklist sono processate da Privacy Browser nelle seguenti 22 liste secondarie, che verificano le richieste di risorse nell'ordine elencato.

  1. Whitelist principale
  2. @@ -62,18 +64,20 @@
  3. Blacklist per le espressioni regolari
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Le liste iniziali servono per la verifica della parte iniziale delle URL. Le liste iniziali servono per la verifica della parte finale delle URL. + Le liste dei domini servono per la verifica di certi domini. Le liste di terze parti si applicano solo se il dominio di root della richiesta è diverso dal dominio di root della URL principale. + Le liste per le espressioni regolari seguono la sintassi delle espressioni regolari. + Ogni oggetto delle liste secondarie ha uno o più elementi. + Nel caso delle liste secondarie dei domini, la richiesta di risorse è verificata solo se il primo elemento combacia con il dominio della URL principale.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

A causa delle limitazioni della WebView di Android, e per velocizzare il processo delle richiesta, Privacy Browser implementa una versione semplificata della sintassi di Adblock. + Questo approccio potrebbe a volte portare ad avere falsi positivi, nel caso in cui le risorse siano bloccate o permesse in modi che non erano previsti dall'elemento originale. + Una descrizione più dettagliata su come sono processati gli elementi delle liste di blocco è disponibile su stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Privacy Browser ha una quinta lista di blocco che blocca tutte le richieste di terze parti. + Una richiesta è considerata di terze parti solo se il dominio di base della richiesta è diverso dal dominio di base della URL. + Ad esempio se www.website.com carica un'immagine da images.website.com, + questa non è bloccata come richiesta di terze parti, perchè il dominio di base è lo stesso: website.com. + Il blocco di tutte le richieste di terze parti aumenta la privacy, ma questa lista di blocco è disabilitata di default perchè impedisce la corretta visualizzazione di un gran numero di siti web.

\ No newline at end of file diff --git a/app/src/main/assets/ru/guide_requests_dark.html b/app/src/main/assets/ru/guide_requests_dark.html index ce24d0d5..09ac13cc 100644 --- a/app/src/main/assets/ru/guide_requests_dark.html +++ b/app/src/main/assets/ru/guide_requests_dark.html @@ -24,16 +24,17 @@ -

Resource Requests

+

Запросы ресурсов

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

При загрузке URL-адреса обычно происходит ряд запросов ресурсов для CCS, JavaScript, изображений и других файлов. Сведения об этих запросах можно просмотреть в активности запросов. + В навигационном меню имеется ссылка на активность запросов, а также показано, сколько запросов было заблокировано. + При нажатии на запрос отображаются сведения о том, почему он был разрешен или заблокирован.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Privacy Browser включает в себя четыре списка блокировки, основанных на синтаксисе Adblock: + EasyList, EasyPrivacy, Fanboy’s Annoyance List, и Fanboy’s Social Blocking List. + Эти списки блокировки обрабатываются Privacy Browser в следующих 22 подсписках, которые проверяют запросы ресурсов в указанном порядке.

  1. Основной белый список
  2. @@ -60,18 +61,19 @@
  3. Регулярные выражения черного списка
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Исходные списки проверяются на начало URL-адреса. Окончательные списки проверяются на конец URL-адреса. Списки доменов проверяют только определенные домены. + Сторонние списки применяются только в том случае, если корневой домен запроса отличается от корневого домена основного URL-адреса. + Списки регулярных выражений следуют за синтаксисом регулярных выражений. + Каждый элемент подсписка имеет одну или несколько записей. + В случае подсписков домена, запрос ресурса проверяется только в отношении элемента, если первая запись соответствует домену основного URL-адреса.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

Из-за ограничений в Android WebView, а также для ускорения обработки запросов, в Privacy Browser реализована упрощенная интерпретация синтаксиса Adblock. + Иногда это может привести к ложным срабатываниям, когда ресурсы разрешаются или блокируются способами, которые не были предназначены для исходной записи. + Более подробное описание способа обработки записей списка блокировки доступно на stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Privacy Browser имеет пятый список блокировки, блокирующий все сторонние запросы. Запрос считается сторонним, только если базовый домен запроса отличается от базового домена URL-адреса. + Например, если www.website.com загружает изображение с сайта images.website.com, + запрос не будет считаться сторонним и не будет заблокирован, так как они оба используют один и тот же базовый домен website.com. + Блокировка всех сторонних запросов увеличивает конфиденциальность, но этот список блокировки по умолчанию отключен, поскольку он ломает большое количество веб-сайтов.

\ No newline at end of file diff --git a/app/src/main/assets/ru/guide_requests_light.html b/app/src/main/assets/ru/guide_requests_light.html index b8aaec3f..542377b3 100644 --- a/app/src/main/assets/ru/guide_requests_light.html +++ b/app/src/main/assets/ru/guide_requests_light.html @@ -24,16 +24,17 @@ -

Resource Requests

+

Запросы ресурсов

-

When a URL is loaded, it typically makes a number of resource requests for CCS, JavaScript, image, and other files. Details about these requests can be viewed in the Requests activity. - The navigation drawer has a link to the Requests activity and also shows how many requests were blocked. Tapping on a request displays details about why it was allowed or blocked.

+

При загрузке URL-адреса обычно происходит ряд запросов ресурсов для CCS, JavaScript, изображений и других файлов. Сведения об этих запросах можно просмотреть в активности запросов. + В навигационном меню имеется ссылка на активность запросов, а также показано, сколько запросов было заблокировано. + При нажатии на запрос отображаются сведения о том, почему он был разрешен или заблокирован.

-

Privacy Browser includes four blocklists based on the Adblock syntax: - EasyList, EasyPrivacy, Fanboy’s Annoyance List, and Fanboy’s Social Blocking List. - These blocklists are processed by Privacy Browser into the following 22 sublists, which check resource requests in the order listed.

+

Privacy Browser включает в себя четыре списка блокировки, основанных на синтаксисе Adblock: + EasyList, EasyPrivacy, Fanboy’s Annoyance List, и Fanboy’s Social Blocking List. + Эти списки блокировки обрабатываются Privacy Browser в следующих 22 подсписках, которые проверяют запросы ресурсов в указанном порядке.

  1. Основной белый список
  2. @@ -60,18 +61,19 @@
  3. Регулярные выражения черного списка
-

Initial lists check against the beginning of the URL. Final lists check against the end of the URL. Domain lists only check against certain domains. - Third-party lists only apply if the root domain of the request is different than the root domain of the main URL. - Regular expression lists follow the regular expression syntax. Each sublist item has one or more entry. - In the case of domain sublists, the resource request is only checked against the item if the first entry matches the domain of the main URL.

+

Исходные списки проверяются на начало URL-адреса. Окончательные списки проверяются на конец URL-адреса. Списки доменов проверяют только определенные домены. + Сторонние списки применяются только в том случае, если корневой домен запроса отличается от корневого домена основного URL-адреса. + Списки регулярных выражений следуют за синтаксисом регулярных выражений. + Каждый элемент подсписка имеет одну или несколько записей. + В случае подсписков домена, запрос ресурса проверяется только в отношении элемента, если первая запись соответствует домену основного URL-адреса.

-

Because of limitations in Android’s WebView, and to speed up processing of requests, Privacy Browser implements a simplified interpretation of the Adblock syntax. - This can sometimes lead to false positives, where resources are allowed or blocked in ways that weren’t intended by the original entry. - A more detailed description of how the blocklist entries are processed is available at stoutner.com.

+

Из-за ограничений в Android WebView, а также для ускорения обработки запросов, в Privacy Browser реализована упрощенная интерпретация синтаксиса Adblock. + Иногда это может привести к ложным срабатываниям, когда ресурсы разрешаются или блокируются способами, которые не были предназначены для исходной записи. + Более подробное описание способа обработки записей списка блокировки доступно на stoutner.com.

-

Privacy Browser has a fifth blocklist that blocks all third-party requests. A request is only considered third-party if the base domain of the request is different than the base domain of the URL. - For example, if www.website.com loads a picture from images.website.com, - this is not blocked as a third-party request because they both share the same base domain of website.com. - Blocking all third-party requests increases privacy, but this blocklist is disabled by default because it breaks a large number of websites.

+

Privacy Browser имеет пятый список блокировки, блокирующий все сторонние запросы. Запрос считается сторонним, только если базовый домен запроса отличается от базового домена URL-адреса. + Например, если www.website.com загружает изображение с сайта images.website.com, + запрос не будет считаться сторонним и не будет заблокирован, так как они оба используют один и тот же базовый домен website.com. + Блокировка всех сторонних запросов увеличивает конфиденциальность, но этот список блокировки по умолчанию отключен, поскольку он ломает большое количество веб-сайтов.

\ No newline at end of file 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 950a59f1..191e56aa 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -173,7 +173,7 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // and `ViewSslCertificateDialog`. It is also used in `onCreate()`. public static SslCertificate sslCertificate; - // `orbotStatus` is public static so it can be accessed from `OrbotProxyHelper`. It is also used in `onCreate()`. + // `orbotStatus` is public static so it can be accessed from `OrbotProxyHelper`. It is also used in `onCreate()` and `onResume()`. public static String orbotStatus; // `webViewTitle` is public static so it can be accessed from `CreateBookmarkDialog` and `CreateHomeScreenShortcutDialog`. It is also used in `onCreate()`. @@ -369,7 +369,7 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // `ignorePinnedSslCertificateForDomain` is used in `onCreate()`, `onSslMismatchProceed()`, and `applyDomainSettings()`. private boolean ignorePinnedSslCertificate; - // `waitingForOrbot` is used in `onCreate()` and `applyAppSettings()`. + // `waitingForOrbot` is used in `onCreate()`, `onResume()`, and `applyAppSettings()`. private boolean waitingForOrbot; // `domainSettingsApplied` is used in `prepareOptionsMenu()`, `applyDomainSettings()`, and `setDisplayWebpageImages()`. @@ -1189,6 +1189,9 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { if (url.startsWith("http")) { // Load the URL in Privacy Browser. + // Reset the formatted URL string so the page will load correctly if blocking of third-party requests is enabled. + formattedUrlString = ""; + // Apply the domain settings for the new URL. `applyDomainSettings` doesn't do anything if the domain has not changed. applyDomainSettings(url, true, false); @@ -1262,7 +1265,7 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // Initialize the third party request tracker. boolean isThirdPartyRequest = false; - // + // Initialize the current domain string. String currentDomain = ""; // Nobody is happy when comparing null strings. @@ -1680,6 +1683,12 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook // The AdView is destroyed and recreated, which changes the ID, every time it is reloaded to handle possible rotations. AdHelper.resumeAd(findViewById(R.id.adview)); } + + // Display a message to the user if waiting for Orbot. + if (waitingForOrbot && !orbotStatus.equals("ON")) { + // Load a waiting page. `null` specifies no encoding, which defaults to ASCII. + mainWebView.loadData(waitingForOrbotHTMLString, "text/html", null); + } } @Override @@ -3423,7 +3432,7 @@ public class MainWebViewActivity extends AppCompatActivity implements CreateBook appBar.setBackgroundDrawable(ContextCompat.getDrawable(this, R.color.blue_50)); } - // Display a message to the user if we are waiting on Orbot. + // Display a message to the user if waiting for Orbot. if (!orbotStatus.equals("ON")) { // Set `waitingForOrbot`. waitingForOrbot = true;