Ovo će web mjesto raditi na ograničen način, dok obavljamo održavanje stranice. Ako neki članak ne riješi tvoj problem i ako želiš postaviti pitanje, naša zajednica za podršku spremna je pomoći na Twitteru @FirefoxSupport i na Redditu /r/firefox.

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

localstorage and webappsstore.sqlite

  • 4 odgovora
  • 1 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od cor-el

more options

My understanding is localstorage is kept in the file webappsstore.sqlite and that is persistent even after firefox closes.

Not the case with me. I am using FireBug's "FireStorage Plus!" (FSP!) and also Javascript to create some random values in localstorage on example.com site.

I can see the entries in FSP!, however, if I open the webappsstore.sqlite it is always empty and the size never changes.

If I restart Firefox the localstorage for example.com is empty and it says so on FSP!.

This is not sessionStorage but localStorage.

What am I doing wrong or have I misunderstood the localStorage?

My second question is how do I increase the max size of localStorage?

My understanding is localstorage is kept in the file webappsstore.sqlite and that is persistent even after firefox closes. Not the case with me. I am using FireBug's "FireStorage Plus!" (FSP!) and also Javascript to create some random values in localstorage on example.com site. I can see the entries in FSP!, however, if I open the webappsstore.sqlite it is always empty and the size never changes. If I restart Firefox the localstorage for example.com is empty and it says so on FSP!. This is not sessionStorage but localStorage. What am I doing wrong or have I misunderstood the localStorage? My second question is how do I increase the max size of localStorage?

Izabrano rješenje

You can create an allow exception for cookies and localStorage data that you want to keep.

You can inspect and manage permissions for the domain in the currently selected tab via these steps:

  • Click the "Site Identity Button" (globe/padlock) on the location/address bar
  • Click "More Information" to open "Tools > Page Info" with the Security tab selected
  • Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab

You can inspect and manage permissions for all domains on the about:permissions page.

Pročitaj ovaj odgovor u kontekstu 👍 1

Svi odgovori (4)

more options

Update: It seems localStorage is connected with the fact that if I keep cookies until firefox closes, it also deletes the localStorage.

So that solves that problem. ^_^

How do I increase the size and anyone know of a plugin that keeps only selected site localStorage and another one for removing all cookies after firefox closes?

more options

Odabrano rješenje

You can create an allow exception for cookies and localStorage data that you want to keep.

You can inspect and manage permissions for the domain in the currently selected tab via these steps:

  • Click the "Site Identity Button" (globe/padlock) on the location/address bar
  • Click "More Information" to open "Tools > Page Info" with the Security tab selected
  • Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab

You can inspect and manage permissions for all domains on the about:permissions page.

more options

Thank you again :). Great link. This site has to be one of the most difficult to navigate through.

So there is no way to treat Local Storage and Cookie separately? It seems you can't clear one without the other. So either both session or both permanent.

Second question, is Offline Storage the cache for Offline mode?

more options

Offline Storage as another name for the application cache is not used for storing web page data that can be used in Offline mode. That storage is used by applications that can run when not connected.

It is the disk cache that matters when it comes to viewing visited web pages in offline mode.