chrome_extension icon indicating copy to clipboard operation
chrome_extension copied to clipboard

Wrap websocket connections for introspection

Open 9b opened this issue 8 years ago • 0 comments

Websockets fall outside the scope of extension inspection and thus will remain undetected by Blockade. Adblockchrome has a cute way of solving this by wrapping the entire socket primitive in order to gain insight.

We might be able to borrow most of this: https://github.com/adblockplus/adblockpluschrome/blob/5ee05f996778d0e67e6c5bb05f51fd40071943b7/include.preload.js#L341

Here's the open Chrome debate: https://bugs.chromium.org/p/chromium/issues/detail?id=129353#c58

9b avatar Feb 22 '17 06:02 9b