This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

I want a warning on quitting.

  • 6 replies
  • 47 have this problem
  • 13 views
  • Last reply by BettBee

more options

I use Command+W to close windows. Unfortunately I often hit Command+Q by mistake, and quit Firefox when I don't want to. Back when Firefox used to ask if I wanted to save my tabs, that gave me the opportunity to cancel quitting. But now there is nothing to prevent the huge pain in the neck of having to restart Firefox and wait for a zillion tabs and pages to load.

Please put in a choice to be warned before quitting regardless.

I use Command+W to close windows. Unfortunately I often hit Command+Q by mistake, and quit Firefox when I don't want to. Back when Firefox used to ask if I wanted to save my tabs, that gave me the opportunity to cancel quitting. But now there is nothing to prevent the huge pain in the neck of having to restart Firefox and wait for a zillion tabs and pages to load. Please put in a choice to be warned before quitting regardless.

Modified by BettBee

Chosen solution

You can set the warn prefs on the about:config page to true via the right-click context menu or toggle the value with a double left-click.

Read this answer in context 👍 5

All Replies (6)

more options

Chosen Solution

You can set the warn prefs on the about:config page to true via the right-click context menu or toggle the value with a double left-click.

more options

Thank you!! My beloved dialog box is back and you are the GREATEST!!!

The first link with the link to the comments on the code was all it took.

more options

thanks very much for the information ~

more options

I've tried all three:

browser.showQuitWarning, set to true browser.tabs.warnOnClose, set to true browser.warnOnQuit, set to true

I even set to true: browser.warnOnRestart;true

and it still doesn't work. Any idea? This is so frustrating. How about just making this a simple preference in the main preferences dialogue box. Certainly we're not the only one with that problem. I've been reporting this for a very long time now.

Nicolas

more options

Try to use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar.

more options

The first solution, by Cor-el, worked for me. Thanks again, Cor-el!!! I believe I had to go to the about:config page to do it.