Is there a way to identify client-side code, within an entire code base, that initiating a cross-domain operation? E.g., identify proprietary code that uses an NPM package that crosses the domain by issuing calls to a different domain.
Finding the 3rd party code that crosses the domain will suffice, since putting a breakpoint inside it will allow tracing back to proprietary code calling the relevant 3rd party code.
I can see the addresses reached outside the domain by using the Chrome developer tools' network tab, and via Fiddler, but the only data about the initiator code is the page URL, which in the case of SPA - doesn't reveal any useful info.
Thanks, Liroy