Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

How do I stop FF from deleting my local storage when I close a tab (not in private window)?

  • 2 odgovora
  • 1 ima to težavo
  • 14 ogledov
  • Zadnji odgovor od cor-el

more options

I have a web page that saves some data into local storage (localStorage.setItem). When I either close the tab or close the browser, the data is removed. When I use Chrome, the data is still there.

Is this normal behavior for FireFox? How can I have the data persist? Do I need to configure FireFox differently?

Thanks, -JT

I have a web page that saves some data into local storage (localStorage.setItem). When I either close the tab or close the browser, the data is removed. When I use Chrome, the data is still there. Is this normal behavior for FireFox? How can I have the data persist? Do I need to configure FireFox differently? Thanks, -JT

Vsi odgovori (2)

more options

Try setting your settings to not clear cookies/local storage in the options menu.

more options

This is possibly done by one of your extensions.

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window