It also works with JavaScript-heavy websites like Mastodon and Youtube, though some features like collapsibles are missing.
I use httrack for this type of thing.
HTTrack Website Copier - Offline Browser www.httrack.com/html/fcguide.html
Submitted 18 hours ago by onehundredsixtynine@sh.itjust.works to youshouldknow@lemmy.world
https://www.getsinglefile.com/
It also works with JavaScript-heavy websites like Mastodon and Youtube, though some features like collapsibles are missing.
I use httrack for this type of thing.
HTTrack Website Copier - Offline Browser www.httrack.com/html/fcguide.html
This takes a snapshot of the HTML elements from when they were loaded in your browser. If the page loads content dynamically, HTTrack won’t save it. (i.e. this works better on crappy modern sites that need JS to even just load the article text…)
Don’t most browers offer this as a default option?
A property secured site won’t serve its css and js when requested from a non configured domain (such as localhost), so the html is the only part that will work when you save the page as.
Selecting “Save as” is not the same as “view while offline”.
“Save as” is just a legacy function that has been passed down to Save the HTML into a file. It’s not used to “save” pages or sites to view offline.
The ability properly Save a page to view offline is already included in most browsers. Even Edge has that functionality built into it.
Cool. But also, offpunk.net
This is not really for your average super-busy html page, but I love it for checking blogs.
How does this improve on “Print to PDF” built into every browser and/or OS?
It stores the actual HTML structure and assets, so you can still view the page as it was more-or-less intended instead of it getting split up across print pages.
Really useful extension.
What’s the use case? I can’t imagine why I would want to save the interface on a YouTube page, or any similar interactive page. If anything I’d just want the relevant media or text.
Is youtube what people see as “the internet” nowadays? There are millions of websites out there with unimaginable troves of valuable information that isnt available anywhere else. When you actually do anything productive like research, art, engineering, cooking, etc. you often look for very specific info and when you find it you might want to archive it, because websites constantly just disappear forever, never to be seen again. Preserving the exact formatting is often very important too.
This doesn’t answer my question. There were two examples given in the OP, YouTube and Mastodon (which I don’t use).
Research, engineering, and cooking are all things I do and I can’t think of a case where I’d want to save all the Javascript on a web page. Usually saving a media file, or a pdf, or copy/ pasting text, or at most a screenshot is perfectly fine.
What do you end up using this for?
I use it to save Reddit comments. I use RES enhancement, which lets me get all the comments on one page, then I save it. That ensures I get all of the images, and comments in one easy to reference file.
That’s a good use case.
I can’t imagine why I would want to save the interface on a YouTube page
Archiving a community post, for example.
I just listened to an audiobook, where the author constantly said “you can find a free example of this on the website”, but the material is no longer available on the website. At least not for free.
What’s a “youtube”?
It’s a wonderful extension. Wish it played nice with the Just Read extension, but that’s my only complaint.
Try to avoid installing extensions, they have too much privilege in the browser.
Check your privilege, SingleFile!
Hmm but they’re so useful.
pineapplelover@lemmy.dbzer0.com 15 hours ago
Am I missing something? How is this different from CTRL+S