Created Overview of uBlock's network filtering engine: details (markdown)

Raymond Hill 2015-06-06 22:05:26 -04:00
parent efd0fb85d4
commit 8e2ffd1c61

@ -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.