Prevent Firefox from Quitting When Closing Last Tab

Firefox 3.5 introduced a change in the way closing the last tab of a browser window is handled. Instead of turning into a blank tab, the window closes as well, much like it does in Google Chrome.

To return to the previous behavior of turning the last closed tab into a blank tab, follow these steps:

  1. Type about:config into the address bar.
  2. Accept the warning if it appears by clicking “I’ll be careful, I promise!”
  3. Find the setting for browser.tabs.closeWindowWithLastTab. You can do this quickly by beginning to type any part of the term into the filter bar.
  4. Double-click on the browser.tabs.closeWindowWithLastTab preference to change it from true to false.
  5. Enjoy not closing the window when you close the last tab! (If it doesn’t work immediately, try restarting Firefox.)
(Visited 62 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *