摘要 |
Methods, systems, and apparatuses, including computer programs encoded on a computer storage medium, for rendering an approximate webpage screenshot client-side are disclosed. A system may receive an indication to render a screenshot of a webpage presented on the client device, and create a canvas at the client device. The system may traverse a document object model (DOM) of the webpage, whereby for each of one or more nodes in the DOM, the system may identify a property of a respective node and render data in the respective node on the canvas based on the property. |