monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Example of a page that doesn't work

Open dandavison opened this issue 5 years ago • 7 comments

http://acko.net/blog/how-to-fold-a-julia-fractal/ doesn't seem to work. On loading the monolith output I see errors like this in chrome:

image image

In Firefox I see image

dandavison avatar Aug 23 '19 16:08 dandavison

Thank you for the report. I was able to save and open the page in both Chrome and FF, both with JS on and off (-j). When JS is on it attempts to access some resource it apparently doesn't have access to due to some security policy. The static content of the page is viewable, but since it's a heavily JS-based page, I'll need to resolve the issue with embedded JS not working properly before it can fully function after being converted into a single HTML file.

snshn avatar Aug 24 '19 04:08 snshn

Probably related to this issue, monolith-saved pages don't render Nicky Case's explorable explanations correctly. Just as an example: https://ncase.me/trust/

mrzv avatar Sep 09 '21 16:09 mrzv

Hi there @mrzv!

I was able to save https://ncase.me/trust/ with monolith https://ncase.me/trust/ -b https://ncase.me/trust/ > /tmp/test.html but I don't think that .html file will work fine while you're offline, since it seems to pull some remote .js assets.

snshn avatar Sep 13 '21 10:09 snshn

Ah, the -b flag does the trick, at least when online; without it, the page didn't work even online. I didn't know about it. Too bad that fully offline is not an option.

Another example worth investigating are substack posts. When you save any one and then open it, the content flashes briefly and then disappears (surely as a result of some javascript).

mrzv avatar Sep 13 '21 16:09 mrzv

Fully offline could be possibly achieved with Monolith browser extension: https://chrome.google.com/webstore/detail/monolith/koalogomkahjlabefiglodpnhhkokekg If not, then perhaps SingleFile could do it.

I'll take a look at substack, thank you; -j usually solves the problem, since some pages show JS-powered lightboxes or redirect somewhere else, without JS even Cookie prompts usually never get shown.

snshn avatar Sep 13 '21 21:09 snshn

Actually, fully offline seems to just work for that link, unless I'm hitting some browser cache.

mrzv avatar Sep 13 '21 21:09 mrzv

And -j does the trick with substack. Thanks!

mrzv avatar Sep 13 '21 21:09 mrzv