為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

How do I get my "customized" Firefox back (pinned tabs & homepage)?

  • 8 回覆
  • 5 有這個問題
  • 17 次檢視
  • 最近回覆由 Mill14

more options

My kids do something that creates a 2nd Firefox window (not tab) to appear. When I close both windows and open Firefox again, the 2nd Firefox window that was created now comes up. It does not contain any of my pinned tabs or my homepage. How do I get my "customized" Firefox back?

My kids do something that creates a 2nd Firefox window (not tab) to appear. When I close both windows and open Firefox again, the 2nd Firefox window that was created now comes up. It does not contain any of my pinned tabs or my homepage. How do I get my "customized" Firefox back?

所有回覆 (8)

more options

Hi Mill14

Use "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit) to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

You can try to rename (or delete) the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

more options

Hi Edward27821

In case you are using "Clear history when Firefox closes":

  • do not clear the Browsing History

Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.

more options

Which pages do you want to open on startup?

You can check the home page setting:

  • Tools > Options > General > Startup: Home page

Firefox supports multiple home pages separated by '|' (pipe) symbols.

You can check the target line in the Firefox desktop shortcut (right-click: Properties) to make sure that nothing is appended after the path to the Firefox program.

more options

If you use "When Firefox Starts":
"Show my windows and tabs from last time" and this isn't working then that would indicate that there is a problem with Session Restore.

You can reset browser.sessionstore.* prefs on the about:config page that are user set (bold) via the right-click context menu to the default value to make sure that Session Restore is enabled and working properly.

You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.

Rename (or delete) the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.

Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

more options

You're welcome Edward27821.

I've posted a for Mill1 above, so we need to wait for feedback to see if that had helped.


Hi Mill1,

Could you clarify what is in the second window that currently opens when you start Firefox?

more options

Glad you're all set Edward!

The second window that opened when my daughter did something (dragged a tab or something?) was just a regular, new "default" Firefox window containing one of the tabs that I had had opened on my first Firefox window (which was still there, but maybe it was closed before the second window, which caused the issue ????). It looked like a Firefox window that hadn't been customized with pinned tabs or homepage.

I renamed the sessionstore files, but it didn't make a difference. I think it is because they had been updated with the new session I used yesterday which did not contain my info. That's fine, I can recreate all of my pinned tabs and homepage again. Once I do that, can I make a copy and rename the sessionstore.js and sessionstore.bak with a number (or my name) so that I have a spare? Then in the future if this type of thing happens again I can just go in and delete the current sessionstore files (that are messed up), copy/paste my "spare" files and rename them so they don't have the number (or my name) so that those files are used next time I open Firefox?

more options

Yes, you can tear off a tab to a new window by dragging the tab slightly down in the browsing window.

If this happens then you can drag this tab back to the tab bar in the original window to undo this tearing off.

Pinned tabs are restricted to one window (each window can have its own set), so it is no surprise that you didn't have the pinned tabs in that second window. If you closed the original window then you can try to see if you can restore this window via "History > Recently Closed Tabs/Windows". Otherwise this window is lost and you will have to recreate the lost pinned tabs in the current window.

more options

Thank you. It sounds like that's what happened this last time. I don't know what's caused it in the past, but I'm just tired of having to recreate the pinned tabs over and over. Can I do the sessionstore file renaming thing as a backup if the "History > Recently Closed Tabs/Windows" thing doesn't work?