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 do I stop FF from deleting my local storage when I close a tab (not in private window)?

  • 2 replies
  • 1 has this problem
  • 6 views
  • Last reply by 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

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