gpt4 book ai didi

javascript - 捕获 Google Chrome Websocket 事件

转载 作者:行者123 更新时间:2023-11-28 06:16:54 25 4
gpt4 key购买 nike

我需要在 Google Chrome 中打开的某个页面上捕获来自服务器的 websockets 响应。我可以从网络->WS 面板中的开发人员工具中看到它们。我可以通过创建浏览器扩展或注入(inject)脚本来捕获它们吗?

最佳答案

您可以使用 Wireshark 完成所有操作,但如果没有 chrome,那就不行了。

With the updated Chrome Dev Tools, you can now see the WebSocket traffic coming and going to and from your browser without using tools like Wireshark

Reference

关于javascript - 捕获 Google Chrome Websocket 事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35887147/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com