mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Created Overview of uBlock's network filtering engine: details (markdown)
parent
efd0fb85d4
commit
8e2ffd1c61
1 changed files with 32 additions and 0 deletions
32
Overview-of-uBlock's-network-filtering-engine:-details.md
Normal file
32
Overview-of-uBlock's-network-filtering-engine:-details.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#### Dynamic URL filtering rules
|
||||
|
||||
Advantages:
|
||||
- Little overhead creating/deleting dynamic URL rules.
|
||||
- Precedence over both dynamic filtering rules and static filters.
|
||||
|
||||
Disadvantages:
|
||||
- Can only match URLs which "start with".
|
||||
- Can't be loaded from a filter list.
|
||||
|
||||
#### Dynamic filtering rules
|
||||
|
||||
Advantages:
|
||||
- Little overhead creating/deleting dynamic rules.
|
||||
- Precedence over static filters.
|
||||
|
||||
Disadvantages:
|
||||
- Rules are broad: whole sites or class of types.
|
||||
- Can't be loaded from a filter list.
|
||||
|
||||
#### Static filtering
|
||||
|
||||
Advantages:
|
||||
- Flexible syntax: from very broad to very narrow targeting.
|
||||
- Support cosmetic filtering.
|
||||
- Can be loaded from a filter list: facilitate community-supported filter lists.
|
||||
- Can be used in other blockers supporting ABP-compatible filter syntax.
|
||||
- Except for a few filter syntax extensions specific to uBlock not adopted by other blockers.
|
||||
|
||||
Disadvantages:
|
||||
- High overhead creating/deleting network/cosmetic filters (high memory churn).
|
||||
- In case of 3rd-party filter lists, forced to use all filters, including those which are not wanted.
|
||||
Loading…
Reference in a new issue