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 技術支援網站

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

了解更多

How can I let one domain (file:///...) to keep localStorage in Private Browsing over browsing sessions?

  • 1 回覆
  • 1 有這個問題
  • 16 次檢視
  • 最近回覆由 WestEnd

more options

I've made a home page for Firefox with HTML, CSS and JavaScript and I'd like to allow it to store data in localStorage over browsing sessions in Private Browsing. The page is located at file:///C:/Users/<user>/.../homePage/index.html. If there is no way to do this I will also be happy with any other ways to save data over browsing sessions (not necessary with localStorage).

I've made a home page for Firefox with HTML, CSS and JavaScript and I'd like to allow it to store data in localStorage over browsing sessions in Private Browsing. The page is located at file:///C:/Users/<user>/.../homePage/index.html. If there is no way to do this I will also be happy with any other ways to save data over browsing sessions (not necessary with localStorage).

所有回覆 (1)

more options

Private browsing doesn't keep or store information it was intended to clear everything when closed. It isn't intended to do what your asking for here. FF is a set default program settings anything beyond that is up to the user to customize or program themselves for their usage.