Solicitação de recursos

Quando um URL é carregado, ele normalmente faz várias solicitações de recursos para CCS, JavaScript, imagem e outros arquivos. Os detalhes sobre essas solicitações podem ser visualizados na atividade Solicitações. A gaveta de navegação possui um link para a atividade Solicitações e também mostra quantas solicitações foram bloqueadas. Tocar em uma solicitação exibe detalhes sobre por que ela foi permitida ou bloqueada.

Request Details

Before a web page loads a resource, it is checked against the filter lists that are enabled in the following order:

  1. Block All Third-Party Requests
  2. UltraPrivacy
  3. UltraList
  4. EasyPrivacy
  5. EasyList
  6. Fanboy’s Annoyance List

All of these lists except for the first are based on the Adblock syntax. UltraPrivacy and UltraList are maintained by Stoutner. The last three filter lists come from the EasyList project.

The raw entries from the filter lists are processed into 6 sublists.

  1. Main Allow List
  2. Initial Domain Allow List
  3. Regular Expression Allow List
  4. Main Block List
  5. Initial Domain Block List
  6. Regular Expression Block List

Initial domain lists check against the beginning of the domain. These are very common and placing them in their own sublist allows for more CPU-efficient checking of resource requests. Regular expression lists follow the regular expression syntax.

The contents of the filter lists may be viewed by selecting Filter Lists from the options overflow menu (three dots in the upper-right corner) of the Requests activity.

Filter List Entry

Because of limitations in Android’s WebView, Privacy Browser implements a simplified interpretation of the Adblock syntax. A more detailed description of how the filter list entries are processed is available at stoutner.com.