Skip to content
Helium314 edited this page Feb 24, 2022 · 2 revisions

The content blocker is an imroved and extended version of the blocker found in Yuzu browser. It is compatible to hosts lists and AdBlockPlus syntax and the extensions used by AdGuard and uBlock Origin.

Conflicts between ABP, AdGuard and uBO

In some cases the same filter is interpreted differently by ABP, AdGuard and uBO

  • host names: are interpreted as ||host.tld^ like by uBO
  • document: behaves like in uBO
  • strict blocking: behaves like in uBO
  • contrary to uBO, filters like in this issue work for the listed cases
  • important: works on exception rules and blocking rules, as it does in AdGuard. In uBlock origin, important works only when used as a blocking rule.

Incomplete implementation

Some rules are implemented only partially, or not at all. The most obvious part here is the lack of support for cosmetic filtering (element hiding). An incomplete and not working implementation exists as part left from the original Yuzu blocker. Since it has no impact on privacy, not much effort has been made in making cosmetic filtering work. Contributions are welcome.

Not fully implemented

  • modifier filters may break some websites, even if requests are not modified at all. This is due to some problems when using okhttp to do requests for WebView.
  • badfilter does not work if $domains of badfilter and original filter is different, does not work on * and similar filters with domains
  • all might not be implemented correctly

Unsupported, planned to implement

Unsupported, low priority

Unsupported filters, no plan to implement

failed tests according to ABP test pages

  • Subdocument: should be supported, but fails
  • XMLHTTPrequest: should be supported, but fails
  • Third Party: should be supported, but one of two tests fails
  • CSP: should be supported, but scrips-src test fails
  • Header: not supported, planned
  • WebRTC: not supported, planned
  • Rewrite: not supported, planned
  • Element hiding: not supported, may be implemented at some point
  • Ping: not supported, no indication on failure or success
  • WebSocket: not supported, no indication on failure or success
  • Popup: all examples open in the same window, thus they are not popups