Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How can I make Firefox stop reopening previous tabs?

  • 4 个回答
  • 3 人有此问题
  • 15 次查看
  • 最后回复者为 Adriel

more options

Software: Windows 7 and Firefox 35.0.1 (previously 39)

Problem: When I open a window, I want to start a fresh browsing session. But Firefox instead reopens all the tabs from a previous browsing session. Seems like an easy fix, right? Well, I've taken a number of reasonable measures to fix this and it persists!

What I've already tried: I've selected the option to not reopen tabs on restart. Problem persists. I've selected option to delete all browsing history on close. This appeared to work, but when I changed the setting back, Firefox reopens tabs from before I told it to delete browsing history. Clearly it didn't really delete. I've selected option to go to my homepage on opening. It starts to go to homepage, but then replaces it with my old tabs! I've even uninstalled and reinstalled Firefox and THE PREVIOUS TABS ARE STILL THERE!!

Please help me if you can. This is driving me absolutely crazy. (Thanks)

Software: Windows 7 and Firefox 35.0.1 (previously 39) Problem: When I open a window, I want to start a fresh browsing session. But Firefox instead reopens all the tabs from a previous browsing session. Seems like an easy fix, right? Well, I've taken a number of reasonable measures to fix this and it persists! What I've already tried: I've selected the option to not reopen tabs on restart. Problem persists. I've selected option to delete all browsing history on close. This appeared to work, but when I changed the setting back, Firefox reopens tabs from before I told it to delete browsing history. Clearly it didn't really delete. I've selected option to go to my homepage on opening. It starts to go to homepage, but then replaces it with my old tabs! I've even uninstalled and reinstalled Firefox and THE PREVIOUS TABS ARE STILL THERE!! Please help me if you can. This is driving me absolutely crazy. (Thanks)

所有回复 (4)

more options

Hello,

The Refresh feature (called "Reset" in older Firefox versions) can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.

Note: When you use this feature, you will lose any extensions, toolbar customizations, and some preferences. See the Refresh Firefox - reset add-ons and settings article for more information.

To Refresh Firefox:

  1. Open the Troubleshooting Information page using one of these methods:
    • Click the menu button New Fx Menu, click help Help-29 and select Troubleshooting Information. A new tab containing your troubleshooting information should open.
    • If you're unable to access the Help menu, type about:support in your address bar to bring up the Troubleshooting Information page.
  2. At the top right corner of the page, you should see a button that says "Refresh Firefox" ("Reset Firefox" in older Firefox versions). Click on it.
  3. Firefox will close. After the refresh process is completed, Firefox will show a window with the information that is imported.
  4. Click Finish and Firefox will reopen.

Did this fix the problem? Please report back to us!

Thank you.

more options

Solution appears to have worked! Thanks so much!

more options

If it happens again then you can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

You can use this button to go to the currently used Firefox profile folder:

Windows hides some file extensions by default. Among them .html and .ini and .js and .txt, so you may only see a file name without file extension. You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.


When you reset/refresh Firefox then the current profile folder is moved to an "Old Firefox Data" folder on the desktop, so you can still give this a check if you still have the "Old Firefox Data" to see if that was your issue.

It is possible to recover data from the old profile, but be cautious not to copy corrupted files to avoid carrying over problems.

more options

Hello,

I am glad to hear that your problem has been resolved. If you haven't already, please select the answer that solves the problem. This will help other users with similar problems find the solution more easily.

Thank you for contacting Mozilla Support.