AdNauseam-chrome icon indicating copy to clipboard operation
AdNauseam-chrome copied to clipboard

RequestHandler

Open dhowe opened this issue 10 years ago • 1 comments

This entity should handle registering, de-registering, and listening for request-related events.

The equivalent events in Firefox are "http-on-modify-request" and "http-on-examine-response".

It needs to be able to read and modify cookies and headers for all requests.

It also needs to be able to distinguish whether requests are generated by ADN; that is, whether they have come from AdNauseam's hidden tab/window.

dhowe avatar Dec 12 '14 04:12 dhowe

The chrome.webRequest API should handle this functionality, specifically the events: onBeforeRequest, onBeforeSendHeaders (for modifying the referer, and handling outgoing cookies), onHeadersReceived (for handling incoming cookies), and onCompleted

dhowe avatar Dec 23 '14 02:12 dhowe