Answer the question
In order to leave comments, you need to log in
How to use Chrome API to find out where the request is sent?
I basically understand that it is necessary to hang up the listener on any event.
I found in the experimental API , in principle, what I need , but
chrome.experimental.webRequest can only be used in extension processesI can’t hang it on a specific page, but I don’t know how to listen to all requests from the extension.
{ ... permissions: [ "experimental", "http://*/*", "https://*/*", "ftp://*/*", "file:///*/*" ], ... }
chrome.experimental.webRequest.onBeforeRequest.addListener( function(details) { console.log(details.url); });
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question