Let me introduce you SingleFileZ, a fork of SingleFile that allows you to save a webpage into a HTML file which is in fact a zip file.https://addons.mozilla.org/en-US/firefox/addon/singlefilez/ …
-
Show this thread
-
Do you know if it is possible to download it from a place other than the Chrome store? Since there is a need to launch Chrome with the `--allow-file-access-from-files' option, the extension will probably not be published here.
1 reply 0 retweets 0 likes -
Yeah but I think it will prompt a warning AFAIK. In current Brave I see the following. There was an alternative extension store but I forget what it was. In Chrome I think you can drag and drop the extension file into the page. I'm willing to give it a shot to see what happenspic.twitter.com/UMHSVBDHWD
1 reply 0 retweets 0 likes -
Replying to @mlhaufe
You're right, if you load an unpacked extension, you'll get such popup on Chrome, If you load it unpacked, then you can extract the zip of the master branch https://github.com/gildas-lormeau/SingleFileZ/archive/master.zip … and load the directory where you extracted the file.
1 reply 0 retweets 1 like -
Replying to @check_ca
Some minor issues in Brave. Errors below from install (Gecko specific extensions I assume), and the second message from opening a downloaded page (permissions?).pic.twitter.com/kJ2RDeuiZF
3 replies 0 retweets 0 likes -
Replying to @mlhaufe
Regarding the second image, this is an error message which is displayed when the script detects it can't retrieve the content of the current page with a XHR (to read the raw binary data). Chromium does not allow this when the page is loaded from the filesystem.
1 reply 0 retweets 0 likes -
Replying to @check_ca
Right. I was going to ask why you needed to load the current document from file:// in the first place vs access the comment content directly from the DOM.
1 reply 0 retweets 0 likes
I did not do the test actually... I also don't know what the HTML parser does when it parses an comment which contains invalid characters (like the null char). By accident, I also did a test where the binary of the zip contained "--", the result wasn't great :p
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.