Mozilla Relay is experiencing issues with call and text delivery. We’re working on a fix. Check Mozilla Status for updates.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 2 svar
  • 1 har detta problem
  • 14 visningar
  • Senaste svar av 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

Alla svar (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