简体   繁体   中英

How to find out where HTML navigation was triggered

I have to inspect a large scaled HTML front end project where a page load occurs after jQuery Javascript AJAX request. But I cannot find out why and where a HTML navigation was executed. Does there a exists a way to watch or stop at such an event in chrome dev tools? I just took a look if there is a form or submit button on the page. But there is nothing not even a form. I am pretty sure HTML navigation was triggered by Javascript code.

Yup, there is options available for Event Listener Breakpoints . It will be in source panel and you can have a variety of event breakpoints.

For more, detailed reference - Chrome Breakpoints Reference

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM