[Webkit-unassigned] [Bug 206924] Content blocker: add an option to replace response with static content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 20 02:41:37 PDT 2021


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

--- Comment #3 from Andrey Meshkov <am at adguard.com> ---
(In reply to Sam Sneddon [:gsnedders] from comment #2)
> Are empty ("empty") resources sufficient for the vast majority of cases here?
> 
> (I'm aware there are some cases, like Google Analytics, where stub
> implementations of the API might be necessary, c.f. bug 199173 and bug
> 199704, but these seem to be exceptionally rare in comparison to just
> wanting the load to succeed.)

In AdGuard filters there're over 1000 "redirect" rules.
~800 of them are different kinds of "noop" rules.

There's an important thing about them, though. About ~100of them are different versions of "noopvast" and "noopvmap" - special "stubs" for replacing VAST/VPAID XML files (files with video ads metadata).

I haven't checked exact numbers, but I am pretty sure the situation with uBlock Origin filters is similar to ours. 

Here're the full sources for static non-JS "stubs" we're using:
https://github.com/AdguardTeam/Scriptlets/blob/master/src/redirects/static-redirects.yml

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210520/401b9d03/attachment.htm>


More information about the webkit-unassigned mailing list