We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.