答案 0 :(得分:2)
我能够使用webReqest API做到这一点!
manifest.json
...
"permissions": ["webRequest", "*://*/*"]
...
background.js
chrome.webRequest.onResponseStarted.addListener(
({ip}) => console.log(`Network request with ${ip}!`),
{urls: ['*://*/*']});