Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to inspect the response body using WebExtensions WebRequest API?

I am writing a browser extension using modern Browsers generic WebExtensions framework.

I try to figure out, how I can get (read) access or a copy of the data of an http response send by a regular server utilizing the stable WebRequest API. Firefox's and Chrome's documentations do not offer a convenient way of achieving this. Is it even possible within the WebExtensions framework?

Thanks in advance.

like image 823
David Avatar asked Dec 01 '16 15:12

David


1 Answers

No, it's not possible with WebRequest API.

It's been asked for a long time, though, at least for Chrome.

like image 172
Xan Avatar answered Oct 05 '22 12:10

Xan