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!

搜索 | 用户支持

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

详细了解

Why does my computer start with my last known location?

more options

Say that I'm on youtube, just finishing that last video and after I'm done I close the browser and start doing something else. What happens when I open the browser again? It's back to Youtube playing that same video again! How do I stop doing that?

Say that I'm on youtube, just finishing that last video and after I'm done I close the browser and start doing something else. What happens when I open the browser again? It's back to Youtube playing that same video again! How do I stop doing that?

所有回复 (1)

more options

So one possible variable is your startup setting. You can double-check here to make sure you don't have Firefox set to restore your windows and tabs from last time: Startup, home page, tabs, and download settings.

A second possibility is that you have a user.js file in your settings folder (Firefox profile folder) that specifies that even though you normally don't restore your previous session, Firefox should do it just this one time. Of course, since Firefox rereads user.js every time you start up, it becomes permanent. This article describes how to track down and remove a user.js file: How to fix preferences that won't save.

A third possibility is that Firefox is crashing during shutdown, and Firefox is doing a standard post-crash recovery. If the other two theories are not applicable, I suggest switching what Firefox does post-crash to see whether this is the problem.

To change Firefox from restoring automatically after a crash to presenting a list of previous session windows and tabs:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste sess and pause while the list is filtered

(C) Double-click the browser.sessionstore.max_resumed_crashes preference and enter 0 (that's a zero) and click OK.

The next time Firefox starts if you get the screen saying "this is embarrassing" and showing a list of your last session tabs, then the problem is that Firefox is crashing during shutdown.