Prevent accidental closing of Firefox

LOG

Lagrangian
Super Member
Registered
Joined
Nov 10, 2008
Messages
7,714
Reaction score
354
Location
Between there and there
I'm not sure why this isn't working for me, my showquitwarning setting in the config is set to true, but whenever I hit the X in the upper-right, Firefox closes without asking if I'm sure first.
Ideas?
 

danrupe

Think think think...
Kind Benefactor
Super Member
Registered
Joined
Feb 24, 2012
Messages
241
Reaction score
55
I think firefox only prompts you if you have multiple tabs open. Are you trying to close with just a single tab open?
 

Maryn

I Tried
Super Member
Registered
Joined
Feb 12, 2005
Messages
64,070
Reaction score
42,992
Location
Behind you!
My experience agrees with danrupe's. I've never seen one of those "are you sure you want to close Firefox" warnings with only one window/tab open.

But it's a relief to know that when my brain's overextended itself, I'm not the only person who accidentally closes the browser. Duh.

Maryn, high-five-ing LOG
 

LOG

Lagrangian
Super Member
Registered
Joined
Nov 10, 2008
Messages
7,714
Reaction score
354
Location
Between there and there
I almost never close my browser with only a single tab open, I can't even remember the last time I did that.

I have the warn on closing tabs check in tab options, as well as browser.tabs.warnOnClose, browser.warnOnQuit, browser.warnOnRestart, and browser.showQuitWarning all set to true but it still closes instantly.
 

danrupe

Think think think...
Kind Benefactor
Super Member
Registered
Joined
Feb 24, 2012
Messages
241
Reaction score
55
Okay... here's what happens to me.

I only get the alert message if I have multiple instances of Firefox open and the browser window I'm trying to close has multiple tabs open.

If the window doesn't have multiple tabs or if it's the only browser window open (regardless of how many tabs), it closes without a message.

Of course, I also have it saving all my current tabs (so it never technically closes those tabs before closing the browser). If you have that checked, perhaps you can uncheck it (Under "Tools | Options | General | Startup") and see if the message will appear.
 

Blackfire

Ghost amidst the caligraphy.
Super Member
Registered
Joined
Mar 10, 2012
Messages
117
Reaction score
7
Location
Port Colborne, Ontario
You should invest in sessionmanager, or setting your homepage to about:home. Either way, you'll get the ability to restore previous sessions in FF. I can't imagine what would cause the close tab warning to fail. Since you seem to be messing with the config menu, that is probably what did it. >_>

I would suggest getting a session managing addon. It always pops up for me when I have multiple tabs open. Also, check your settings in:

[FF button] Tools>Options>Tabs>Warn me when I try to close a window with multiple tabs. <---- That should be checked.