4 ms·
Honest question.... Is the problem of content blockers using rule lists? Or, is the issue that Chrome proposes to limit the number of rules. Quickly looking at
by mfer 7y ago
Honest question....
Is the problem of content blockers using rule lists? Or, is the issue that Chrome proposes to limit the number of rules. Quickly looking at Safari there isn't this limit to the number of rules.
I understand change being a problem and maybe uBlock Origin can't work in the new Safari model. But, could a new project do just a well based on similar blocking ideas?
- joeblau 7y agoIIRC, the limit is 50k a list, but you can have unlimited lists. That is the difference between 1Blocker and 1Blocker X.
- TingPing 7y agoThis is correct: https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/contentextensions/ContentExtensionParser.cpp?rev=246490#L329 https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/...
- hrunt 7y agoThe article states that Safari does have a limit of 50,000 rules, and that this is less than Google's updated proposed limit of 120,000 rules that ad blockers have stated is too low. I believe ad blockers like uBlock Origin also do some dynamic detection of behavior so that certain types of ad-serving that come from hosts you do not want to block. CBS Sports, for example, requires special handling -- in Google Chrome, accomplished by a separate extension for uBlock Origin -- to properly block ads on their site without destroying login and video functionality. This kind of blocking cannot be performed with host lists.
- mackey 7y agoSafari allows 50,000 rules per list and an extension can have unlimited lists. Google is doing "a global maximum of 150k rules" per extension. https://blog.chromium.org/2019/06/web-request-and-declarative-net-request.html https://blog.chromium.org/2019/06/web-request-and-declarativ...
- vatueil 7y agoAccording to the posted article, Apple limits the number of rules in Safari as well. Safari's limit is 50k. Similarly, Chrome's initial proposal suggested a limit of 30k, which has since been revised upwards to 90k to 120k based on feedback.
- scarface74 7y agoThe article is wrong. There is a 50K limit per list but you can have unlimited list. 1Blocker X does this.
- vatueil 7y agoI thought I mentioned that, but I must have accidentally deleted it when I edited the comment. Thanks for pointing it out. I wouldn't say the article is wrong, just that a workaround exists.