Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It appears that Firefox 3.5 has a "feature" where if you have it set to restore your tabs on restart, it doesn't prompt you for confirmation when you close it (see this page for more background). However, I'd like it to both save my state and prompt me when I (generally accidentally) close it.

Is there a way to override this behavior to have it prompt me anyways? I'd be happy to install an add-on if there was one that would solve this.

share|improve this question

Go to about:config.
Find the setting named browser.tabs.warnOnClose and set it to "true" (double-click the name to toggle between "true" and "false").

share|improve this answer
    
This flag is set to true. The problem is that when you tell Firefox to restore your session on restart (browser.startup.page == 3), it ignores the browser.tabs.warnOnClose flag and doesn't prompt you. – etlovett Jan 6 '10 at 20:00
    
It works fine for me: Firefox is set to restore the session on restart AND it prompts me when I close the browser. – Snark Jan 6 '10 at 21:02
    
What version/OS are you on? I'm on 3.6b5 and OS X 10.5. – etlovett Jan 6 '10 at 23:58
    
FF 3.6b5 on Windows 7 Ultimate – Snark Jan 7 '10 at 4:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .