How to run a command automatically, after a download completes in firefox desktop browser.
Note: I am not an add-on developer.
I used to be able to do this with add-on Download Status Bar (DSB) by Szalgiris user cmd. You can define any user cmd to run as the “virus scan” cmd. See Download Status Bar :: Add-ons for SeaMonkey - Download Status Bar by Szalgiris. Pic of options screen below:
This add-on is no longer supported under latest Firefox is there another add-on or another way I could do this?
I need an add-on that can, after downloading file, trigger a script and pass name of downloaded file, so this is sequence:
. Firefox download complete then
. Run user defined command on this download (parameters for name and file checksum needed ). Examples: create a log file; run a windows batch file; run ad-hoc virus scan; or run a command script for TTS the name of the file downloaded.
Is it technically possible for a web-extensions add-on to implement this like the old add-on?
This is similar to the discussion on firefox - How to run a command automatically after completing download? - Ask Ubuntu where one suggestion mentioned:
Context command executor – Get this Extension for 🦊 Firefox (en-US)
Native messaging - Mozilla | MDN
That is hard to setup and is NOT integrating into download process. Although another alternative is have a separate download manager and change content type action (Manage file types and download actions in Firefox | Firefox Help) it’s a work laptop and installing a separate download manager is not an option. I would really like a simple method I can use on both Home and Office PC.
I am currently using Download Status Bar (S3) but it does not have a user defined command option like “Download Status Bar by Szalgiris”
Is there an add-on that currently solves this?