0

I need to get a packet's headers (as you would in devtools with rightclick and copy as fetch) and send it again. How can I do that in a chrome extension??? Any help is appreciated. The packet is xhr and called typing.

  • I feel like chrome.declarativeNetRequest can be used. – Norio Yamamoto Oct 01 '22 at 01:48
  • declarativeNetRequest can't be used. You can use chrome.webRequest.onHeadersReceived in background script or [XHR/fetch spoofing](https://stackoverflow.com/a/71012727/) in page context. – wOxxOm Oct 01 '22 at 07:54

0 Answers0