access Websocket traffic from chrome extension

后端 未结 5 572
借酒劲吻你
借酒劲吻你 2021-01-31 06:07

There is a page (game), which communicate via WebSocket to the server. I can see the data (frames) in the Chrome Developer Tool. Is it possible to access / modify this communica

5条回答
  •  执念已碎
    2021-01-31 06:50

    There is a WebSocket-Wrapper, you can use it to access WebSocket traffic:

    https://github.com/gorhill/chromium-websocket-wrapper/blob/master/chromium-websocket-wrapper.js

提交回复
热议问题