Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9844

Trace the requests made by a web page [on hold]

$
0
0

I can view the requests in browser web tools, but I want a certain action to be triggered whenever a request is made.

Let's say I have this javascript function defined:

function trace(url, headers, body) {
...
}

Can I register this function to be triggered whenever a network request is made.


Viewing all articles
Browse latest Browse all 9844

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>