Bug 154811 - Feature request: add "xmlhttprequest" resource type for content blockers
Summary: Feature request: add "xmlhttprequest" resource type for content blockers
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2016-02-29 02:13 PST by Andrey Meshkov
Modified: 2019-04-15 13:34 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Meshkov 2016-02-29 02:13:13 PST
Currently there is no way to distinguish XHR requests from other requests, yet it may be very useful for ad blocking.

For instance, ad blocking on speedtest.net involves blocking scripts and XHR requests
Comment 1 Radar WebKit Bug Importer 2019-04-11 22:54:04 PDT
Comment 2 Alex Christensen 2019-04-15 13:09:20 PDT
I assume this would still package xhr and fetch together, right?  We wouldn't want to block xhr but not fetch.
Comment 3 Andrey Meshkov 2019-04-15 13:34:21 PDT
Hi Alex, I can't think of any case when distinguishing fetch from xhr would be useful.