Hacker News new | ask | show | jobs
by sjnonweb 613 days ago
With manifest v2, the extension could dynamically intercept requests and block them based on a custom rule.

With v3, extensions have to predefine the rules for blocking. Which is the limiting factor

2 comments

That and certain features like the element zapper in uBO aren't available in Lite.
> extensions have to predefine the rules for blockin

And there's a limit of 5000 such rules.

The limit is 330000 rules:

"Based on input from the extension community, we also increased the number of rulesets for declarativeNetRequest, allowing extensions to bundle up to 330,000 static rules and dynamically add a further 30,000." https://blog.chromium.org/2024/05/manifest-v2-phase-out-begi....

even if it was infinite that wasn't really the issue, you can't express the algorithms uBlock Origin is using as a static list
Given the size and complexity of modern ad malware I doubt if 330,000 rules is enough, so why limit it?