From 8e2ffd1c6132d4330003857cb0d4d94f6ca2359b Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 6 Jun 2015 22:05:26 -0400 Subject: [PATCH] Created Overview of uBlock's network filtering engine: details (markdown) --- ...ock's-network-filtering-engine:-details.md | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Overview-of-uBlock's-network-filtering-engine:-details.md diff --git a/Overview-of-uBlock's-network-filtering-engine:-details.md b/Overview-of-uBlock's-network-filtering-engine:-details.md new file mode 100644 index 0000000..2291a33 --- /dev/null +++ b/Overview-of-uBlock's-network-filtering-engine:-details.md @@ -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. \ No newline at end of file