网页跳转有 http 302 跳转 <meta http-equiv="refresh"> 和 window.location 。
302 和 window.location 跳转的时候会清除控制台,记录就没有了。
而网上搜到的“拦截弹出式窗口”,只能阻止 window.open 方法。
找到其他方法如:用 Burp Suite 或者 Fiddler 确实可以留下记录,但是调试网页一点也不方便,也没有控制台。
有什么办法可以暂停 http 302 ,window.location 自动跳转。好像自动跳转后控制台记录就没有了。