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.

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.

  1. Whitelist principale
  2. Whitelist finale
  3. Whitelist per i domini
  4. Whitelist iniziale
  5. Whitelist finale
  6. Whitelist di terze parti
  7. Whitelist di terze parti per i domini
  8. Whitelist di terze parti iniziale per i domini
  9. Blacklist principale
  10. Blacklist iniziale
  11. Blacklist finale
  12. Blacklist per i domini
  13. Blacklist iniziale
  14. Blacklist finale
  15. Blacklist per le espressioni regolari
  16. Blacklist di terze parti
  17. Blacklist di terze parti iniziale
  18. Blacklist di terze parti per i domini
  19. Blacklist di terze parti iniziale per i domini
  20. Blacklist di terze parti per le espressioni regolari
  21. Blacklist di terze parti per le espressioni regolari per i domini
  22. 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.

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.

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.