Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Lol yeah with a max number of rules being 50

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

But declarativeNetRequest is the alternative to the webRequest API which Chrome is removing. Using declarativeNetRequest means you have to rely on static rules instead of the dynamic logic that the webRequest API allowed. This is extremely trivial to bypass. So much so that it's basically nothing at all. Especially when you take into account the max ruleset sizes

Also in Chrome (and Chrome only) any images or iframes blocked are simply collapsed





I try to assume good intentions, but at this point you seem to be simply trying to spread misinformation, and I don't know why.

The maximum number of rule sets is 50, not rules, as your own link clearly and unambiguously states.

The actual minimum (not maximum) number of supported rules is 30,000:

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...

In reality, Chrome supports over 10x that. And UBOL doesn't even use/need the minimum, sticking to around 17,000.


Thanks for the correction. you're correct it's 50 rulesets. Originally the limit was 5,000 rules but it seems the Chrome team backed away from that

Regardless it doesn't change the fact that these are static rules. It's trivial for anti-adblockers to dynamically get a url that is not in a ruleset. Without the dynamic logic that is allowed by the webRequest API we are completely dependent on static rulesets that need to be updated by updating the entire extension itself

The size of the rulesets is a distraction from the fact that adblockers can no longer run dynamic logic to filter web requests and block tracking




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: