Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

Expand/refactor dynamic filtering #433

@gorhill

Description

@gorhill

To address one way or another various filed issues: #361, #358, #331, #282, #236, #68.

Definitions:

  • "Static filtering" = filters based on ABP net filters syntax, or hosts file entries
    • Disadvantage: Adding/removing filter(s) is CPU/short-term memory expensive
    • Advantage: Can be very fine-grained
  • "Dynamic filtering"
    • Advantage: Adding/removing filter(s) is virtually CPU/memory noop relative to static filters
    • Advantage: Very useful to unbreak (or further restrict) web sites without the overhead of static filters
    • Disadvantage: Coarse-grained

Filtering:

  • Whitelisting override all dynamic and static filters
  • Dynamic exception filters override static and dynamic block filters
  • Dynamic block filters override static exception filters and default behavior
  • Static exception filters override static block filters
  • Static block filters override default behavior
  • Default behavior: all net requests are allowed

Filtering precedence inside dynamic filtering -- most specific to least specific:

  • Hostname - hostname - any type (new)
  • Any - hostname - any type (new)
  • Hostname - any - specific type (these already exist)
  • Any - any - specific type (these already exist)

UI:

  • The default UI will always be minimalist -- just as it is now
  • Optionally expand panel to unveil dynamic filtering
  • It is not feature bloat, it just expands on the current dynamic filtering (script, iframe) to address the issues enumerated above.
  • Just as now, it is optional, tucked away by default
  • But readily available as a very useful tool to help users help themselves

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions