0

I found solution, but the issue is script doesn't work if devtools are closed.

`chrome.devtools.panels.create("Request interception", "icon.png", "panel.html", panel => {
  chrome.devtools.network.onRequestFinished.addListener(
    function(request) {
      request.getContent((content, encoding) => {
        console.log(content)
      })
    }
  );
});`

If there any other way to intercept data or make this script work without opening devtools?

Mariia
  • 1
  • 1

0 Answers0