News for hackers. Stuff that matters.
Re:Manifest V3 changes are now available to test in Microsof... by gorhill on Wednesday October 14, 2020 @06:09PM (#24782262)
That article is more than one year old, I prefer to rely on current documentation for reference[1], which says maximum number of rules is 30,000.

* * *

[1] https://developer.chrome.com/extensions/declarativeNetReques...

Re:Manifest V3 changes are now available to test in Microsof... by wayneftw on Wednesday October 14, 2020 @10:05PM (#24784028)
Thanks. How many filters are there in total? We could still have an extension that splits lists up into 30k chunks.

I’ll gladly install 10-20 extensions if I have to, along with a master extension that handles cosmetic filtering.

Re:Manifest V3 changes are now available to test in Microsof... by jsmith45 on Thursday October 15, 2020 @01:35PM (#24791310)
Currently for EasyList, once one removes element hiding rules, since those don't work via network blocking, you are left with about ~33k rules.

The list could easily be shrunken by combining some of those rules into regex based rules. Indeed, enormous regex based rules used to be common in the early days, but seem to have fallen out of favor. I'm guessing that it turns out that they were slower, or one of the major extensions did not support them or something.

There is some form of complexity limit for regex based entries, and only 1000 of them are allowed per extension's static list (an additional 1000 are allowed for the dynamic blocklists). But I'd be pretty surprised if they were so limited they could not bring EasyList back within the 30k limit.

So basically, if there is no global limit being applied, one would probably need about one extension per major blocklist, with smaller blocklists potentially being able to be combined into shared extensions.