Hacker News new | past | comments | ask | show | jobs | submit login

I'm curious to know how the author managed to take a screenshot of the site? I know there were methods to actually recreate the DOM via some 3rd party library. Not sure if things have changed with HTML5 or others means of doing it.



I used a Chrome extension API. One alternative I've heard is copying the DOM over into a separate canvas element, which you can save as an image. I haven't tried that yet though.

https://developer.chrome.com/extensions/tabs#method-captureV...




Applications are open for YC Winter 2022

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: