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

搜索 | 用户支持

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

详细了解

Firefox 39: How do I stop previously closed tabs from opening when firefox is started?

  • 2 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 rhaewynsmom

more options

I've been through all of the support questions on this--fair warning. I recently got the firefox 39 update. Since then I've had this issue. I close my browser and tabs. If I open the browser, the old tabs come back. I have renamed user.js and even deleted it at one point. I have changed settings as mentioned in posts on about:config. The issue seems to be under preferences though in privacy. If I set it not to remember my history, I just get a blank page. If I set it to remember history, the previous tabs closed load up when I open firefox. I'm thinking this is some kind of a bug. I have also uninstalled and reinstalled firefox which did not help the matter. I also tried booting in safe mode to change the settings as mentioned in some of the posts. If I change the options under "when firefox starts" to show my homepage, show my tabs from the last time or a blank page, it still loads the closed tabs. Nothing seems to change it except for changing privacy to not save my history. The problem with this is that I then need to constantly re-login to websites over and over again because it doesn't save my information. I have tried to set it to just save some history, but again same issue. Old tabs reappear. Is there any other fix for this?

I am now disconnecting my account and seeing if this makes a difference after I post this.

I've been through all of the support questions on this--fair warning. I recently got the firefox 39 update. Since then I've had this issue. I close my browser and tabs. If I open the browser, the old tabs come back. I have renamed user.js and even deleted it at one point. I have changed settings as mentioned in posts on about:config. The issue seems to be under preferences though in privacy. If I set it not to remember my history, I just get a blank page. If I set it to remember history, the previous tabs closed load up when I open firefox. I'm thinking this is some kind of a bug. I have also uninstalled and reinstalled firefox which did not help the matter. I also tried booting in safe mode to change the settings as mentioned in some of the posts. If I change the options under "when firefox starts" to show my homepage, show my tabs from the last time or a blank page, it still loads the closed tabs. Nothing seems to change it except for changing privacy to not save my history. The problem with this is that I then need to constantly re-login to websites over and over again because it doesn't save my information. I have tried to set it to just save some history, but again same issue. Old tabs reappear. Is there any other fix for this? I am now disconnecting my account and seeing if this makes a difference after I post this.

所有回复 (2)

more options

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.

Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts. The user.js file will only be present if you or other software has created this file and normally won't be present.

You can check its content with a plain text editor (right-click: "Open with"; do not double-click). The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.

You can delete the user.js file if you didn't create this file yourself.

You can use this button to go to the current 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.

more options

Okay, so here is what I did. I uninstalled firefox. I have Windows 8 in case anyone else has this issue...

Then I went into C:Users/(My Profile Name)/

At the top of the browser/explorer, I clicked on view. I clicked the check box for Hidden Items so that it was checked off.

Then I navigated here: C:Users/(My Profile Name/AppData/Roaming/Mozilla/Firefox/Profiles/ There was only one folder in this subdirectory named 7qx05nre.default so this may be named differently on other systems. I opened that folder and scrolled down to find user.js. I deleted it. Then I shut down my computer and restarted it. I went to the mozilla website using IE (I hate IE) and downloaded Firefox. I installed it.

Problem solved. For some reason deleting the user.js file did not work on it's own. Neither did uninstalling and reinstalling firefox on it's on. The combination of deleting firefox and user.js together seemed to fix the problem.