3 ms·
Lol yeah with a max number of rules being 50 https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/MAX_NUMBER_OF_STA
by culi 2y ago
Lol yeah with a max number of rules being 50
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/declarativeNetRequest/MAX_NUMBER_OF_STATIC_RULESETS 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
- arccy 2y ago330k, not 50 https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-asked-questions-(FAQ)#is-the-limit-on-maximum-number-of-dnr-rules-an-issue https://github.com/uBlockOrigin/uBOL-home/wiki/Frequently-as...
- crazygringo 2y agoI 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/WebExtensions/API/declarativeNetRequest/GUARANTEED_MINIMUM_STATIC_RULES 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.
- culi 2y agoThanks 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