News for hackers. Stuff that matters.
Re:Show HN: I created snapDOM to capture DOM nodes as images... by darrenf on Sunday April 27, 2025 @03:40PM (#43814523)
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?
Re:Show HN: I created snapDOM to capture DOM nodes as images... by tinchox6 on Sunday April 27, 2025 @04:34PM (#43814892)
Sincerely, I don't know if snapdom would work on a browser extension. I've never tested it on this scenery
Re:Show HN: I created snapDOM to capture DOM nodes as images... by genewitch on Monday April 28, 2025 @04:30AM (#43818938)
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).