ChromeExtensionToHookWebSocket Chrome extension to hook the websocket which transfer the h5 canvas data. Convert the base64 data to picture and then download it. Main code is in inject.js Reference https://github.com/skepticfx/wshook https://developer.chrome.com/extensions http://www.cnblogs.com/ligerleng/p/gmail_assist_0.html