Answer the question
In order to leave comments, you need to log in
How to intercept the chain of redirects in the debug bar of the browser?
Suppose there is a page in which a couple of dozen js files are connected.
When a certain event (form submission) occurs, a redirect to another page occurs.
How to find out in which script the redirect was initialized?
I think it should be somewhere in the area: "Developer Tools" -> Networks
Can't figure out how to track it down.
Answer the question
In order to leave comments, you need to log in
In the developer tools in chrome, in the Network tab, check the Preserve log checkbox - this is so that the list of requested addresses is not cleared during the transition. When you go there will be the address of the first url where the request was sent. Hover over the Initiator column - it will show from which script this request was sent.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question