|
|
%!s(int64=3) %!d(string=hai) anos | |
|---|---|---|
| .github | %!s(int64=3) %!d(string=hai) anos | |
| _locales | %!s(int64=3) %!d(string=hai) anos | |
| cli | %!s(int64=3) %!d(string=hai) anos | |
| companion | %!s(int64=3) %!d(string=hai) anos | |
| lib | %!s(int64=3) %!d(string=hai) anos | |
| src | %!s(int64=3) %!d(string=hai) anos | |
| .eslintrc.js | %!s(int64=3) %!d(string=hai) anos | |
| .gitignore | %!s(int64=3) %!d(string=hai) anos | |
| LICENSE | %!s(int64=6) %!d(string=hai) anos | |
| README.MD | %!s(int64=3) %!d(string=hai) anos | |
| build-extension.sh | %!s(int64=3) %!d(string=hai) anos | |
| faq.md | %!s(int64=3) %!d(string=hai) anos | |
| manifest.json | %!s(int64=3) %!d(string=hai) anos | |
| package-lock.json | %!s(int64=3) %!d(string=hai) anos | |
| package.json | %!s(int64=3) %!d(string=hai) anos | |
| privacy.md | %!s(int64=4) %!d(string=hai) anos | |
| rollup.config.dev.js | %!s(int64=3) %!d(string=hai) anos | |
| rollup.config.js | %!s(int64=3) %!d(string=hai) anos |
SingleFile is a Web Extension (and a CLI tool) compatible with Chrome, Firefox (Desktop and Mobile), Microsoft Edge, Safari, Vivaldi, Brave, Waterfox, Yandex browser, and Opera. It helps you to save a complete web page into a single HTML file.
https://user-images.githubusercontent.com/396787/156664907-cc458e35-f41b-45ca-91eb-372213812b44.mp4
SingleFile can be installed on:
You can also download the zip file (https://github.com/gildas-lormeau/SingleFile/archive/master.zip) of the project and install it manually by unzipping it somewhere on your disk and following these instructions:
See https://github.com/gildas-lormeau/SingleFile/blob/master/faq.md
See https://addons.mozilla.org/firefox/addon/single-file/versions/
_ in file names: ~, +, \,
?, %, *, :, |, ", <, >19599c6513.html", disable the option "Misc > save
pages in background". Reinstalling the browser may also fix this issue. You
can find more info about this bug
here.dom.webcomponents.enabled is enabled in
about:config.Please follow these steps if you find an unknown issue:
You can save web pages to HTML from the command line interface. See here for more info: https://github.com/gildas-lormeau/single-file-cli.
You can execute a user script just before (and after) SingleFile saves a page. For more info, see https://github.com/gildas-lormeau/SingleFile/wiki/How-to-execute-a-user-script-before-a-page-is-saved.
SingleFileZ is a fork of SingleFile that allows you to save a webpage as a self-extracting HTML file. This HTML file is also a valid ZIP file which contains the resources (images, fonts, stylesheets and frames) of the saved page. This ZIP file can be unzipped on the filesystem in order, for example, to view the page in a browser that would not support pages saved with SingleFileZ.
More info here: https://github.com/gildas-lormeau/SingleFileZ
| HTML (SingleFile) | HTML (SingleFileZ) | MAFF | MHTML | Webarchive (Safari) | HTML+folder | |
|---|---|---|---|---|---|---|
| Pages are saved as a single file | ✓ | ✓ | ✓ | ✓ | ✓ | |
| HTML and styles are minified | ✓ | ✓ | ||||
| Unused HTML and styles are removed from files | ✓ | ✓ | ||||
| Binary resources are not encoded in base 64 | ✓ | ✓ | ✓ | ✓ | ||
| Files are compressed | ✓ | ✓ | ||||
| Files can be viewed without installing any extension | ✓ | ✓¹ | ✓² | ✓³ | ✓ | |
| Files can be viewed without running JavaScript | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Files can be unzipped to extract resources and view pages | ✓ | ✓ | n/a | |||
| Files contains the text of the page (plain or formatted) which can be indexed | ✓ | ✓⁴ | ✓ | ✓ | ✓ |
Footnotes:
¹ A switch must be passed from the command line in Chromium-based browsers, and an option must be enabled in Safari.
² Only in Chromium-based browsers, and Internet Explorer.
³ Only in Safari.
⁴ An option must be enabled in the extension.
See https://github.com/gildas-lormeau/SingleFile/blob/master/privacy.md
SingleFile is licensed under AGPL. Code derived from third-party projects is licensed under MIT. Please contact me at gildas.lormeau <at> gmail.com if you are interested in licensing the SingleFile code for a commercial service or product.
Suggestions are welcome :)