access Websocket traffic from chrome extension

后端 未结 5 577
借酒劲吻你
借酒劲吻你 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 07:02

    Judging from discussion on this bug, there is currently no API to intercept WebSocket traffic, unlike normal requests with chrome.webRequest. It's assigned but not completed yet.

    Edit: recent (as of Nov 2016) activity on the bug suggests a patch in the works.

提交回复
热议问题