我可以阻止Firefox开发人员工具网络面板在页面重新加载时清除吗? [英] Can I prevent the Firefox developer tools network panel from clearing on page reload?

查看:175
本文介绍了我可以阻止Firefox开发人员工具网络面板在页面重新加载时清除吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想观察POST请求的内容,当我尝试在网络面板中捕获此请求时,该请求的成功完成导致 location.reload()在Firefox开发人员工具中,我发现页面重新加载会清除捕获的事件列表。我可以阻止此清除吗?

I would like to observe the contents of a POST request whose successful completion results in a location.reload() - when I try to capture this request in the Network Panel of the Firefox developer tools, I find that the page reload clears the list of captured events. Can I prevent this clearing?

推荐答案

从Firefox 31开始,您可以使用启用持久日志设置,以防止网络监视器在重新加载时清除列表。

From Firefox 31 onwards you can use the "Enable persistent logs" setting to prevent the Network Monitor from clearing the list on reload.

这篇关于我可以阻止Firefox开发人员工具网络面板在页面重新加载时清除吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆