64
rated 0 times
[
69]
[
5]
/ answers: 1 / hits: 68843
/ 11 Years ago, fri, august 30, 2013, 12:00:00
It seems to be difficult problem (or impossible??).
I want to get and read HTTP Response, caused by HTTP Request in browser, under watching Chrome Extension background script.
We can get HTTP Request Body in this way
chrome.webRequest.onBeforeRequest.addListener(function(data){
// data contains request_body
},{'urls':[]},['requestBody']);
I also checked these stackoverflows
- Chrome extensions - Other ways to read response bodies than chrome.devtools.network?
- Chrome extension to read HTTP response
Is there any clever way to get HTTP Response Body in Chrome Extension?
More From » google-chrome-extension