Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there a way to block Firefox from closing while files are downloading? I don't want to accidentally quit the program and cut off current downloads.

more options

Basically, I was downloading a game from Game Agent and I accidentally quit Firefox. This stopped the download and I was not allowed to resume it, forcing me to spend $30 to buy the same game AGAIN to get a new download file. Is there a way to add a warning box to Firefox that says something like: "Are you sure you want to quit Firefox? Files are downloading" when I try to quit?

Basically, I was downloading a game from Game Agent and I accidentally quit Firefox. This stopped the download and I was not allowed to resume it, forcing me to spend $30 to buy the same game AGAIN to get a new download file. Is there a way to add a warning box to Firefox that says something like: "Are you sure you want to quit Firefox? Files are downloading" when I try to quit?

Chosen solution

Untested, but according to http://www.phil.im/2011/04/27/how-to-enable-firefox-download-warning-on-quit/ set browser.download.manager.quitBehavior to 2 in about:config

Read this answer in context 👍 2

All Replies (2)

more options

Chosen Solution

Untested, but according to http://www.phil.im/2011/04/27/how-to-enable-firefox-download-warning-on-quit/ set browser.download.manager.quitBehavior to 2 in about:config

more options

Thanks! That did the trick perfectly.