Enable multiple tabs close warning in Firefox

When you have multiple tabs open in a Firefox window and you try to close the main Firefox window, then Firefox gives a warning asking you if you would like to save all the open tabs for next time Firefox starts? The warning looks like the picture shown below :

Multiple tabs close warning in Firefox

If you felt annoyed by this and checked the checkbox labeled Do not ask next time, then Firefox will not show the warning anymore. What if you want this warning back? Do not worry, you can easily enable this warning which is shown everytome you close a Firefox window with multiple open tabs. Here is how :

  1. Start Mozilla Firefox.
  2. Type about:config in the location bar and press Enter.
  3. Firefox will show a warning. Click on the button labeled I’ll be careful I promise! to proceed.

    I will be careful warning in Firefox

  4. In the Filter field type tabs.warn. You would see a preference named tabs.warnOnClose as shown.

    Changing the tabs.warnOnClose setting in Firefox

  5. Double click on tabs.warnOnClose to change its value to true. The true value means that the Firefox will ask show you a warning when you try to close a Firefox window with multiple tabs open.
  6. After changing the value, restart the browser for the changes to take effect.