News for hackers. Stuff that matters.
Re:SingleFileZ, a web extension for saving pages as HTML/ZIP... by jplayer01 on Sunday November 03, 2019 @11:18AM (#21434721)
Can somebody explain the benefit of this over just SingleFile? I’ve seen this fork before, but never quite understood how it differs and how it might benefit me more.
Re:SingleFileZ, a web extension for saving pages as HTML/ZIP... by gildas on Sunday November 03, 2019 @11:23AM (#21434757)
The main benefit is the size of the saved page. The file will be smaller because binary resources (e.g. images) are not encoded in base 64 [1]. Moreover, the page and these resources are also compressed. The other benefit is that you can unzip the saved page and edit it more easily than a page saved with SingleFile because the saved page won't contain data URIs [2].

[1] https://en.wikipedia.org/wiki/Base64

[2] https://en.wikipedia.org/wiki/Data_URI_scheme

Re:SingleFileZ, a web extension for saving pages as HTML/ZIP... by mikaelmorvan on Sunday November 03, 2019 @11:25AM (#21434767)
In fact the SingleFileZ format is quite magical : It's SingleFile that save the content of the page and the Z stand for Zip.

The SingleFile saved content is saved in Zip format in the result Html page.

The final SingleFileZ html page has Html header, Zip file in the body and a bunch of Javascript to decompress the content when the browser opens it.

It's magic !