|
s240779

Registered: 12/07/10
Posts: 12,880
Last seen: 2 months, 9 days
|
Why doesn't this thread save properly?
#27704998 - 03/22/22 07:57 PM (1 year, 10 months ago) |
|
|
ayahuasca and its analogues
I tried saving it with three different browsers and the only one that was able to save it was Firefox and FF was only able to save it as a text file.
|
Ythan
ᕕ( ᐛ )ᕗ


Registered: 08/08/97
Posts: 18,774
Loc: NY/MA/VT Borderlands
Last seen: 3 minutes, 7 seconds
|
Re: Why doesn't this thread save properly? [Re: s240779]
#27705062 - 03/22/22 08:37 PM (1 year, 10 months ago) |
|
|
It looks like when you save a page, Chrome sends the request without any cookies so it's like you're a guest. You can see an example if you save the forum index and then open the saved page, it will say "You are not signed in" in the corner instead of "Welcome s240779". That means if you try to download any thread from a forum that's only accessible to members, it won't work. That seems like an issue with Chrome that would affect more pages than just this, but you should be able to work around it with the Save Page WE extension.
|
s240779

Registered: 12/07/10
Posts: 12,880
Last seen: 2 months, 9 days
|
Re: Why doesn't this thread save properly? [Re: Ythan]
#27705090 - 03/22/22 09:08 PM (1 year, 10 months ago) |
|
|
Thanks for the rapid reply and the Chrome extension suggestion. Indeed, I just tried to save the first page of the index of ODD and it failed. What's disturbing is that the browser tells you that the pages successfully saved; it's only if you re-open the Downloads panel that you see that the downloads failed. I noticed this issue years ago. As a developer yourself, maybe you can tell me why developers miss things like these...
|
s240779

Registered: 12/07/10
Posts: 12,880
Last seen: 2 months, 9 days
|
Re: Why doesn't this thread save properly? [Re: Ythan]
#27712468 - 03/29/22 05:08 AM (1 year, 9 months ago) |
|
|
I've noticed this extension is also capable of saving pages that normally can't be saved, such as Twitter pages. Do you know how it does that?
|
Ythan
ᕕ( ᐛ )ᕗ


Registered: 08/08/97
Posts: 18,774
Loc: NY/MA/VT Borderlands
Last seen: 3 minutes, 7 seconds
|
Re: Why doesn't this thread save properly? [Re: s240779]
#27713022 - 03/29/22 02:48 PM (1 year, 9 months ago) |
|
|
The addon description has a pretty good explanation of how it works:
Quote:
The HTML elements (as currently displayed) and all of the referenced resources are saved in a single file (.html).
External CSS style sheets are converted to internal CSS style sheets. Frame contents and external scripts are stored as UTF-8 data URIs in the 'src' attribute. Iframe contents are stored as UTF-8 text in the 'srcdoc' attribute.
All binary resources (images, fonts, audios, videos, etc) are stored as Base64 data URIs. CSS images referenced multiple times within a frame will only be stored once in that frame. CSS fonts and HTML images/audios/videos will be stored once for each reference.
Why don't browsers save pages this same way? Honestly, good question. You'd have to ask the browser developers. I remember back in the day when you could only save the raw HTML. Then browsers added the option to save the "complete" page, including things like images and stylesheets. But as you observed, it shits the bed with any kind of dynamically generated site. That functionality could probably use an update.
|
|