Go to file
2025-11-12 18:10:08 +01:00
icons upped manifest version to 3; renamed icon files 2025-08-29 18:00:00 +02:00
.gitignore changed extension stuff to Manifest v3; coded the file data extraction 2025-08-29 18:04:01 +02:00
background.js filenames now get prefixed with the date the mail was received on 2025-11-12 18:10:08 +01:00
contentscript.js filenames now get prefixed with the date the mail was received on 2025-11-12 18:10:08 +01:00
manifest.json switched from executeScript() to message-based communication between scripts so the content script can be executed repeatedly 2025-11-03 17:45:17 +01:00
README.md fixed an embarassing typo 2025-10-10 13:03:05 +02:00

samoware-multisave

A very-special-use-case Firefox extension.

Installation

You can't install samoware-multisave as a regular browser extension (it is not signed by Mozilla). Load it as a temporary extension instead:

  1. Visit the special Firefox page about:debugging
  2. Click "This Firefox"
  3. Click "Load Temporary Add-on …"
  4. Pick the file manifest.json inside the extension's project directory. (Actually, you can use any file from the same dir.)

samoware-multisave must be reloaded every time Firefox is started.

Usage

The extension button appears only when browsing a specific domain (TODO: and only when a single email is displayed). The extension will help you download all email attachments to a single directory. Also, it will automatically suggest filenames that are prefixed with the current date.

When you click the button, a "Save as …" dialog appears for the first file attached to the email (if there are no attachments, nothing happens). The suggested filename is the original filename prefixed with the current date (yyyymmdd, single space, original filename). Choose the directory where you want to save the file and click "Save" to start the download.

After the download has started", a new "Save as …" dialog appears for each remaining attachment (if the email has only one attachment, nothing happens). Each dialog will start in the directory you picked for your first file, and each suggested filename will be prefixed in the same way. Assuming that you want to save all attached files to the same directory, all you need to do is click "Save" for each dialog.

That's it.

Known bugs

  • Does not work with Flatpak Firefox (temporary extensions can't seem to be loaded due to this bug). Use Firefox from Snap instead (sudo snap install firefox).

Acknowledgements

Samovar icon from Icons8