[Webkit-unassigned] [Bug 152598] Feature request: a callback when request is blocked by the Content Blocker

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 3 06:53:25 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=152598

--- Comment #5 from aitte at gmx.com ---
I misspoke earlier. I said "I think there should be a single callback function with an array of blocked resources, at the end of the page loading. That sounds like a resource-efficient way of handling blocking-statistics."

What I meant, and think would be even better, is:

I think there should be a single callback function with an array of the IDs of triggered blockrules AND triggered whitelist rules, at the end of the page loading.

Such an array would be easy to build and lightweight to process. It would tell us what rules are active, and what unblock/whitelist rules are active. From that, we can detect which rules never trigger on a domain anymore, as well as which triggers the most. Then we can build optimized blocklists that cut out all the years-old, long-dead rules (about 80% of the blocklist contents are dead rules by now, and we need statistics to find those).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160603/72b16cee/attachment.html>


More information about the webkit-unassigned mailing list