Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to stop closed tabs from reopening and duplicating

more options

I close tabs and have Firefox "remember" the only open tabs when I close.

When I reopen Firefox I get the closed tabs back. And I have been getting duplicates of the tabs.

How can I stop the closed tabs from reopening? Also, why do I keep getting duplicate tabs? I sometimes can have 30+ tabs that I do not want.

Uninstalling and reinstalling Firefox?

I close tabs and have Firefox "remember" the only open tabs when I close. When I reopen Firefox I get the closed tabs back. And I have been getting duplicates of the tabs. How can I stop the closed tabs from reopening? Also, why do I keep getting duplicate tabs? I sometimes can have 30+ tabs that I do not want. Uninstalling and reinstalling Firefox?

所有回复 (1)

more options

Hi archivist66, do you have any session-related add-ons? If so, you might consider disabling those first before doing further testing.

Built-in Session Restore Files

Firefox normally updates the session history files as often as every 15 seconds, and then rearranges files at shutdown. Let's see whether that is happening as expected, which would suggest something unusual is happening during startup.

First, open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Open Folder" button.

In your profile folder, double-click into the sessionstore-backups folder.

The kinds of files you may find among your sessionstore files are:

  • recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session) -- should be updated as often as every 15 seconds
  • recovery.baklz4: a backup copy of recovery.jsonlz4 -- updated with the previous version of recovery.jsonlz4
  • previous.jsonlz4: the windows and tabs in your last Firefox session
  • upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update

Q1: Is recovery.jsonlz4 updating as you close tabs?

Keeping that window open, switch over to Firefox and do a normal exit.

Q2: Did recovery.jsonlz4 update after shutdown? If it is present, please make a backup copy: right-click > Copy, then right-click a blank area > Paste. If it is missing, simply go to the next step.

Q3: If you navigate back to the main level of the profile folder, did Firefox create sessionstore.jsonlz4? Please make a backup copy: right-click > Copy, then right-click a blank area > Paste.

To preview the contents of the files (use the backup copies), you can drag and drop it onto my page here, then click Scrounge URLs:

https://www.jeffersonscher.com/ffu/scrounger.html

Does that show the closed tabs are listed among the open ones?