Hacker News new | ask | show | jobs
by skalkin 3915 days ago
Clicked on it hoping that this is a new browser feature that I can access from the web page via JavaScript... but this is just a dev tool. I hope that this feature will eventually appear, currently taking snapshots from the client side is a major pain point.
3 comments

<div id="mydiv"><iframe src=facebook.com...

screenshot("#mydiv"), send to my server

would need some security handling, at least.

There was a DOM2Canvas library at some stage, though it wasn't perfect and it couldn't render images (for security reasons).
Multiple browser engines have the ability to do this, but every time I've asked there's been no intent to ever expose it to webpages/webapps, just extensions.