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

Even though the "browser.ShowQuitWarning" is set to yes, firefox just immediately closes when I go to close it, and doesn't show the Save on Quit warning

  • 7 replies
  • 36 have this problem
  • Last reply by nightowl12

more options

I have tried toggling the yes/no for the browser.showQuitWarning on about:config

My current addons are: Bartab, Download Status Bar, Flashblock, Google Music Downloader, Movable Firefox Button, and Read it Later. Thanks!

All Replies (7)

more options

Make sure that you do not run Firefox in permanent Private Browsing mode.

  • You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
  • To see all History and Cookie settings, choose: Tools > Options > Privacy, choose the setting Firefox will: Use custom settings for history
  • Deselect: [ ] "Permanent Private Browsing mode"
more options

Thanks for the reply! Unfortunately, that's not the problem, as I have it set to remember history. Thanks again

more options

Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.
Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.
You can use "History > Restore Previous Session" to get the previous session at any time.
You may need to click the orange/gray Firefox button to see History.
There is also a "Restore Previous Session" button on the default about:home Home page.

Another possibility is to use:

more options

Thanks for the reply, I think all of us do not struggle with restoring our sessions, which now happens automatically as you correctly point out. The issue rather is that this AUTOMATIC behavior is not always wanted: I would rather have Firefox ask me upon quitting if indeed I wish the session to be restored the next time so that I may choose "NO" (and start with a blank session next time) or "YES" depending on the situation at hand. Until FF 6.0.1 the browser.showQuitWarning boolean did the job, but now seems to be ignored.

Modified by blauvogel

more options

Beyond the asking if I want to save my tabs, I find the warning box to be highly useful when I accidentally hit Command + Q on my mac.. when I was intending to hit Command + W (which is right next to Q) or Command + Tab (also next to Q). I liked that if I accidentally hit the Q, it would ask me before quitting.

more options

I recently came across this method to change that command to Shift+Ctrl+Q.

defaults write NSGlobalDomain NSUserKeyEquivalents '{"Quit Firefox" = "@$Q";}'
more options

Don't forget the "browser.warnOnQuit" setting.

I also had this problem. Check your 'Startup' setting in Options > General. If it is set to "Show my windows and tabs from last time", then toggling the 'warning' settings won't make a difference.

Set it to "Show my home page" and you'll get the familiar message again.