| icons | ||
| .gitignore | ||
| background.js | ||
| contentscript.js | ||
| manifest.json | ||
| README.md | ||
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:
- Visit the special Firefox page
about:debugging - Click "This Firefox"
- Click "Load Temporary Add-on …"
- Pick the file
manifest.jsoninside 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