Replies: 4 comments 19 replies
-
Yeah, I suppose we should do that. Also, it seems there are already some pretty serious differences that I wasn't aware of (i.e. the absence of |
Beta Was this translation helpful? Give feedback.
-
So should we use the same mechanism we used to preprocess the lists and remove some filters that are not supported by all blockers? As far as I can see there is only one |
Beta Was this translation helpful? Give feedback.
-
Unfortunately the way the whitelisting logic works is that we need to check not only the frame URL but also the URLs of all of the ancestor frames. This means we would need the entire frame hierarchy in the data set. We do not have this at the moment. @ameshkov why does tsurlfilter only care about the current frame? Is there a way to disable the We could of course remove all such filters. |
Beta Was this translation helpful? Give feedback.
-
This is now approved and merged here: #2172 |
Beta Was this translation helpful? Give feedback.
-
From here: #2165 (comment)
I have always wondered if the benchmarks were entirely fair, because of all the other things that content blockers do before they finally block or allow a URL request.
Adblock Plus makes two calls to the engine before it evaluates the URL itself:
$document
whitelisting filter for the origin URL$genericblock
whitelisting filter for the origin URL@gorhill it would be nice if you could share the exact steps in uBlock Origin as well.
Now it looks like tsurlfilter already does all of this internally.
For what it's worth, I had proposed that Adblock Plus do all of these checks in a single call, but like so many things it seems to have ended up in a black hole.
Should we update the benchmarks to reflect these additional calls that content blockers must make to check for whitelisting?
Beta Was this translation helpful? Give feedback.
All reactions