Tab Mix Plus is a very popular Firefox addon, and probably the best addon for managing tabs. One of its features that you can enable is “prevent blank tabs when downloading files” in Firefox, which will solve our problem. You will first need to download the Tab Mix Plus add-on. Now go to the Add-ons Manager by pressing “Ctrl + Shift + A” (CMD+Shift+A on Mac) and click on preferences next to Tab Mix Plus.
On the first main tab, enable the “prevent blank tabs when downloading files” option. Tab Mix Plus includes many other features that you may want to use as well, making it even more useful. When you’re done click on “OK.” You should no longer see those pointless blank tabs when downloading files.