How to check response body using WebExtensions WebRequest API?

I am writing a browser extension using the basic WebExtensions framework for modern browsers.

I am trying to figure out how I can get (read) access or a copy of the HTTP response data sent by a regular server using the stable WebRequest API. The Firefox and Chrome documentation does not offer a convenient way to achieve this. Is this possible within the framework of WebExtensions?

Thanks in advance.

+6
source share
1 answer

No, this is not possible with the WebRequest API.

This has been asked for a long time , though, at least for Chrome.

+3
source

Source: https://habr.com/ru/post/1260654/


All Articles