If you get a page\'s initial HTML, can you detect subsequent ajax requests?
Much like you can in the Developer Console, but programmatically. Have searched extensiv
You can use PerformanceObserver with entryType set to "resource"
function perf_observer(list, observer) {
// Process the "resource" event
}
var observer2 = new PerformanceObserver(perf_observer);
observer2.observe({entryTypes: ["resource"]});
See
Count console.log objects
Handling <?xml-stylesheet> similar to <link rel="stylesheet">?