Sen descrición

Gildas 481e17e741 fixed typo %!s(int64=7) %!d(string=hai) anos
_locales 481e17e741 fixed typo %!s(int64=7) %!d(string=hai) anos
extension 9d7a26efb2 fixed auto-save on unload when auto-save on load is also enabled %!s(int64=7) %!d(string=hai) anos
lib 9d7a26efb2 fixed auto-save on unload when auto-save on load is also enabled %!s(int64=7) %!d(string=hai) anos
.eslintrc.js cf6012b438 stricter rules %!s(int64=7) %!d(string=hai) anos
.gitignore 03c64da2ce ignore /.vscode/ %!s(int64=7) %!d(string=hai) anos
README.MD 76ee5e2c94 Formatting %!s(int64=7) %!d(string=hai) anos
manifest.json da3483873b bump version %!s(int64=7) %!d(string=hai) anos

README.MD

SingleFile

SingleFile is a WebExtension compatible with Chrome, Firefox (Desktop and Mobile), and Opera that helps you to save a complete web page into a single HTML file.

Demo

https://www.youtube.com/watch?v=RdV8DBW5b0g

Install

Getting started

  • Wait until the page is fully loaded, you may need to scroll down the entire page to be sure all elements are loaded.
  • Click on the SingleFile button in the extension toolbar to save the page.

Additional notes

  • To save multiple tabs, select them first and click on the SingleFile button.
  • Open the context menu by right-clicking the SingleFile button in the extension toolbar or on the webpage. It allows you to save:
    • the current tab,
    • or the selected content,
    • or the selected frame.
  • You can also process multiple tabs in one click and save:
    • the selected tabs,
    • or the unpinned tabs,
    • or all the tabs.
  • The context menu also allows you to activate the auto-save of:
    • the current tab,
    • or the unpinned tabs,
    • or all the tabs.
  • With auto-save active, pages are automatically saved every time after being loaded (or before being unloaded if not).
  • Right-click on the SingleFile button and select "Options"/"Manage extension" to open the options page.
  • The default save folder is the download folder configured in your browser, cf. about:preferences in Firefox and chrome://settings in Chrome.
  • You can use the shortcut Ctrl+Shift+X to save current or selected tabs in Chrome. Go to chrome://extensions/shortcuts to change it.

More info

See the extension help in the options page for more detailed information about the options, and technical notes. See https://github.com/gildas-lormeau/SingleFile/wiki/Optimizations-applied-to-web-pages for some info about the optimizations applied to web pages.

Statistics (Firefox)

See https://addons.mozilla.org/en-US/firefox/addon/single-file/statistics/?last=90

Known Issues

  • All browsers:
  • Chrome/Opera:
    • You must enable the option "Allow access to file URLs" in the extension page to display the infobar when viewing a saved page, or to save a page stored on the filesystem.
  • Firefox:
    • You cannot save selected tabs via the context menu because it is not possible to select multiple tabs.

Troubleshooting unknown issues

Please follow these steps if you find an unknown issue:

  • Reset SingleFile options.
  • If resetting options did not fix the issue, try to disable all other extensions to see if there is a conflict.
  • If there is a conflict then try to determine against which extension(s).
  • Please report the issue with a short description describing how to reproduce the issue, Browser version, OS name and version here: https://github.com/gildas-lormeau/SingleFile/issues.

Contributors

Code derived from third party projects used in SingleFile

License

SingleFile is licensed under AGPL and GPL. 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 :)