Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Why is localstorage clearing itself when I close firefox?

  • 2 antwurd
  • 1 hat dit probleem
  • 100 werjeftes
  • Lêste antwurd fan paulonfs

more options

I'm doing some testing with localStorage on a local domain. Every time I close firefox, localstorage for the site is cleared. The domain I'm using takes the form http://example.dev. What is causing this and how do I prevent this from happening?

Many thanks paulonfs

I'm doing some testing with localStorage on a local domain. Every time I close firefox, localstorage for the site is cleared. The domain I'm using takes the form http://example.dev. What is causing this and how do I prevent this from happening? Many thanks paulonfs

Keazen oplossing

Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (2)

more options

Attached screenshot of my privacy settings.

more options

Keazen oplossing

Found the solution. It's related to cookie settings. Must allow cookies until they expire, not just for session.