Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

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

How can I reopen my tabs that I had open, AND clear history when I close and reopen Firefox? (without any extra steps)

more options

I have several tabs that I have open on a regular basis that I use. I also have the option to clear browsing history when exiting Firefox checked. If Firefox crashes or I kill it with TaskManager, it will restore the tabs (and keeps history) but if I exit properly, it will not reopen the tabs even though I have the option 'Show your windows and tabs from last time' checked. There is not an option to open more than one home page. What if anything can I do?

I have several tabs that I have open on a regular basis that I use. I also have the option to clear browsing history when exiting Firefox checked. If Firefox crashes or I kill it with TaskManager, it will restore the tabs (and keeps history) but if I exit properly, it will not reopen the tabs even though I have the option 'Show your windows and tabs from last time' checked. There is not an option to open more than one home page. What if anything can I do?

Chosen solution

Your open tabs are considered part of browsing history, so using the built-in features, there's no way to clear browsing history when Firefox closes AND then restore your previous session tabs the next time Firefox opens.

Alternatives:

(1) Same pages every time? You could experiment with:

Multiple home page tabs: How to set the home page

Notes:

  • Addresses are separated by | when listed in the box on the Options page
  • Also opened in every new window (Ctrl+n), as a workaround, you can bookmark a particular page and Shift+click the bookmark to launch that page in a new window

(2) Different pages? You could consider the "Bookmark All Tabs" feature:

This works on a window-by-window basis. Right-click any tab in the window, then click "Bookmark All Tabs". Firefox should show a small dialog where you can name a new folder that will contain the tabs, and control whether it is added to the end of the Bookmarks Menu or somewhere else.

When you want to restore the contents of that folder, expand it on the Bookmarks menu and use the last item on the list, "Open All in Tabs".

(3) Consider an Add-on? There are several session managers launched in the past six months. These are the ones that come to mind:

I don't use any of these myself, except for occasional testing.

Read this answer in context 👍 1

All Replies (6)

more options

Chosen Solution

Your open tabs are considered part of browsing history, so using the built-in features, there's no way to clear browsing history when Firefox closes AND then restore your previous session tabs the next time Firefox opens.

Alternatives:

(1) Same pages every time? You could experiment with:

Multiple home page tabs: How to set the home page

Notes:

  • Addresses are separated by | when listed in the box on the Options page
  • Also opened in every new window (Ctrl+n), as a workaround, you can bookmark a particular page and Shift+click the bookmark to launch that page in a new window

(2) Different pages? You could consider the "Bookmark All Tabs" feature:

This works on a window-by-window basis. Right-click any tab in the window, then click "Bookmark All Tabs". Firefox should show a small dialog where you can name a new folder that will contain the tabs, and control whether it is added to the end of the Bookmarks Menu or somewhere else.

When you want to restore the contents of that folder, expand it on the Bookmarks menu and use the last item on the list, "Open All in Tabs".

(3) Consider an Add-on? There are several session managers launched in the past six months. These are the ones that come to mind:

I don't use any of these myself, except for occasional testing.

more options

Thank You!

It did not even occur to me to look for add-ons... I'll know better next time.

more options

avoros57 said

Thank You! It did not even occur to me to look for add-ons... I'll know better next time.

hi, were you able to fix this? i tried the addons, none worked.

on versions prior to FF Quantum, the Session Manager addon worked perfectly for this, but with FF Quantum, we can't use it anymore.

strange thing is you can uncheck Remember my browsing history (thus no history entires created while browsing), but you have to uncheck History in 'Clear History when Firefox closes'. no history was created but it cannot be cleared anyway..

Modified by dfk7

more options

You can always clear history manually in the sidebar or the Library (history manager) or via "Clear Recent History" before closing Firefox. Only when you use "Clear history when Firefox closes" to clear the history then you can't restore tabs from the previous session.

more options

cor-el said

You can always clear history manually in the sidebar or the Library (history manager) or via "Clear Recent History" before closing Firefox. Only when you use "Clear history when Firefox closes" to clear the history then you can't restore tabs from the previous session.

yes i am aware of the manual method. i just wish FF webextension had better support for session managers so that we can ditch the FF built in session restore feature and have options to deal with sessions and have a reliable crash recovery method (timestamped and auto backups/syncing of different sessions): http://www.tabmixplus.org/support/viewtopic.php?t=3

Modified by dfk7

more options

Hi dfk7, I think the issue is that WebExtensions do not have free and easy access to your hard drive like the old Session Manager. They can coordinate with a separate program ("native application") for additional functionality, but that is an extra challenge for developers and raises security concerns for users, so it's not very common.