[webkit-help] Feedback about Content Blocking Extensions from Adblock Plus
sebastian at adblockplus.org
Thu Jun 18 06:57:14 PDT 2015
On Wed, Jun 17, 2015 at 10:31 AM, Sebastian Noack <sebastian at adblockplus.org
> On Mon, Jun 15, 2015 at 5:42 AM, Benjamin Poulain <benjamin at webkit.org>
>> Targeting XHR specifically seems very easy to counter to me. Couldn't
>> one just use the Fetch API or Sockets to work around the rule?
> I don't think so. Note that with the new content blocking API you cannot
> run code on request anymore. And even then you probably don't want to
> repeat requests just to retrieve additional metadata. And even then the
> response won't tell you in which context the request originally occurred.
Sorry, I just realized what you meant here. (I mistakenly thought you
suggested to repeat requests to obtain additional metadata). But yeah, if a
page uses the Fetch API, rules checking for XMLHttpRequest wouldn't match,
however filters checking for "other" request types should match then. The
distinction between XMLHttpRequest and Fetch API doesn't seem to be
important. We might merge them into a common type in the future. However,
(Flash) initiated requests is kinda important for us, as explained in my
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-help