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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
From Firefox 31 onwards you can use the "Enable persistent logs" setting to prevent the Network Monitor from clearing the list on reload.
回答2:
Despite knowing the name for the setting is "Enable persistent logs", it took me a while to find it on the settings page. I hope this helps:
回答3:
I couldn't find this setting in Firefox 57. The setting has been moved to the network tab itself, above the log table