Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I’ve been writing a browser extension recently, and part of the functionality I want is to export part of a view as an image, shareable for the socials. I wanted to use html2canvas, but the docs explicitly advise against using it in a browser extension. Would snapDOM be suitable for inclusion in an extension?


Firefox has screenshot that auto-picks elements, or you can click and drag a crop, or you can save the whole page. That and ad nauseam are the reason I use firefox; that singlefile also works is great (single html file dump of a web page, somehow).


Sincerely, I don't know if snapdom would work on a browser extension. I've never tested it on this scenery




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

Search: