31 ms·
>Because the filter list is capped, right? The limits are 300,000 static rules [1] + 30,000 dynamic rules [2] + 5,000 session rules [3]. For reference easylist
by charcircuit 3y ago
>Because the filter list is capped, right?
The limits are 300,000 static rules [1] + 30,000 dynamic rules [2] + 5,000 session rules [3]. For reference easylist is about 35k rules. The Chrome team has been constantly tweaking these limits themselves and Brave could set their own limits if they wish. The API is designed such that extensions can query to see how many rules they can use.
[1] https://source.chromium.org/chromium/chromium/src/+/main:extensions/browser/api/declarative_net_request/constants.h;l=273 https://source.chromium.org/chromium/chromium/src/+/main:ext...
[2] https://source.chromium.org/chromium/chromium/src/+/main:out/Debug/gen/extensions/common/api/declarative_net_request.cc;l=46 https://source.chromium.org/chromium/chromium/src/+/main:out...
[3] https://source.chromium.org/chromium/chromium/src/+/main:out/Debug/gen/extensions/common/api/declarative_net_request.cc;l=50 https://source.chromium.org/chromium/chromium/src/+/main:out...
- danShumway 3y agoNote that "dynamic rules" as specified here are not the same as what GP was talking about. The API does not support dynamic rules in the way that Firefox/V2 users use that term.
- charcircuit 3y agoGP did not mention dynamic rules.
- danShumway 3y ago> It also reduces ad blockers to static filter lists instead of powerful dynamic filters. Just to make sure, did you actually not know what comment I was referring to, or are you just upset that I incorrectly referred to it as a GP comment? In either case, it remains true that Chrome's current plans for V3 do limit the ability of extensions like uBO to dynamically filter requests.