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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 reply
  • 1 has this problem
  • 16 views
  • Last reply by 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).

All Replies (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.