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

搜尋 Mozilla 技術支援網站

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

了解更多

How to PERMANENTLY close Bookmarks sidebar panel?

  • 9 回覆
  • 17 有這個問題
  • 1478 次檢視
  • 最近回覆由 cor-el

more options

As of a few days ago whenever I start Firefox the window appears with the Bookmarks sidebar panel already opened. I click the "X" on the sidebar and it will close - until the next time I start Firefox. If I choose Menu->View->Sidebar->Bookmarks and uncheck it the panel will close - until the next time I start Firefox. No matter how the Bookmarks sidebar is closed, it will always reappear when Firefox is restarted. Even if I switch to some other sidebar, Bookmarks will replace it on startup.

I've searched about:config and found no setting which seems to control sidebar behavior on startup.

I assume this is the result of some recent update. Is there no longer a way to permanently disable the Bookmarks sidebar?

MacOS 12.7.5 Firefox 127.0 (64-bit)

As of a few days ago whenever I start Firefox the window appears with the Bookmarks sidebar panel already opened. I click the "X" on the sidebar and it will close - until the next time I start Firefox. If I choose Menu->View->Sidebar->Bookmarks and uncheck it the panel will close - until the next time I start Firefox. No matter how the Bookmarks sidebar is closed, it will always reappear when Firefox is restarted. Even if I switch to some other sidebar, Bookmarks will replace it on startup. I've searched about:config and found no setting which seems to control sidebar behavior on startup. I assume this is the result of some recent update. Is there no longer a way to permanently disable the Bookmarks sidebar? MacOS 12.7.5 Firefox 127.0 (64-bit)

被選擇的解決方法

You need to close all open windows except one window and use "Firefox -> Quit Firefox" to close Firefox. If that doesn't work, then remove xulstore.json in the Firefox profile folder with Firefox closed.

You can use the button in "Help -> More Troubleshooting Information" (about:support) to go to the current Firefox profile folder or use the about:profiles page (Root directory).

從原來的回覆中察看解決方案 👍 4

所有回覆 (9)

more options

In my case Firefox starts with the side panel resuming in whatever state it was in when Firefox last closed. Have you tried closing all but one Firefox window, then ensuring that the side panel is closed in that last window, before closing that too? Hopefully Firefox will then start with no side panel from now on.

more options

Hi TechHorse! Yes, I have tried closing the panel on the very last window and quitting Firefox. Also I've tried closing the panel, closing the last window, and then closing Firefox. The Bookmarks side panel was opened again the next time I start Firefox.

Keeping in mind this is on MacOS, it's possible to close all the Firefox windows without quitting Firefox. If I do this, the next window it opens will have the Bookmarks panel present even if I closed it on the last window I had closed. So it seems Firefox is acting like the last window closed has the Bookmarks panel displayed even if it was actually closed, regardless of how the last window gets closed.

more options

選擇的解決方法

You need to close all open windows except one window and use "Firefox -> Quit Firefox" to close Firefox. If that doesn't work, then remove xulstore.json in the Firefox profile folder with Firefox closed.

You can use the button in "Help -> More Troubleshooting Information" (about:support) to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

Thanks cor-el, deleting xulstore.json fixed it!

more options

The same behavior here. But I can't find a xulstore.json in my whole Firefox installation. Any other possible solutions until this annoying bug is fixed?

MacOS 14.5 Firefox 127.0.2 (64-bit)

more options

Hi info192533

Did you try the last steps in my above reply to go to the profile folder?

more options

The problem is that no data is written to an existing xulstore.json and so the settings are only retrieved over and over again. Deleting it doesn't change anything either, no sidebar is displayed, but this state is also fixed.

more options

I never asked for this feature it should be completely optional like every other feature

more options

Since 127 no longer xulstore.json is used to store the sidebar state, but this is now stored in sessionstore.jsonlz4 as part of session data. If you clear the browsing history when you close Firefox, then the sidebar state is lost.

This is being investigated.

  • 1908019 - onPurgeSessionHistory shouldn't delete UI sidebar state

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)