Hongmu Notes

Storage availability detection

When storage is unavailable, a website feels like it has lost its memory.
100% Browser local processing 0 Data upload

🗂 Store content

Number of entries:0 Total occupied characters:0 Storage availability:-

💡 Instructions for use

  • Only the data of the current site can be read. The storage of other sites is isolated by source and cannot be seen or modified.
  • Key credentials are often marked as unreadable by scripts, so this page will not show the real login token.
  • Deletion cannot be undone. Please copy the exported content before cleaning, especially unsubmitted drafts.
  • After clearing, it is recommended to close or refresh other tabs of the same site to prevent them from writing back old data.

When storage is unavailable, a website feels like it has lost its memory.

Detection method

Write a temporary value and delete it immediately. If it can be completed, it means it can be read and written.

If an exception is thrown, it means it is disabled or the space is full.

separate testing

Local storage and session storage are tested separately, and the limitations of the two may be different.

Some settings only affect one of them, so it's more accurate to look at them separately.

Unavailable reason

The browser prohibits websites from saving data, or has strict incognito restrictions turned on.

Extensions intercept writes, most without giving an obvious hint.

Failure handling sequence

First make sure it is not an incognito window, and then check the site permissions.

Then temporarily disable extensions that may be blocked, and finally consider clearing space.

Things to note

The temporary value used for testing is deleted immediately after being written, leaving no trace.

The detection itself does not modify existing entries.

Write failures are checked in the order of incognito, permissions, extension, and space. Data will not be lost in the first few steps.

📖 Glossary

local storage
The persistence space allocated by the browser for each site remains after closing the window. Login status and preferences always exist here. Deleting them means logging out and resetting settings.
session storage
Similar to the local storage interface, but it only survives in the current tab page and will be cleared when the tab is closed. It is suitable for temporary storage, not for long-term storage.
key value pair
The basic unit of storage consists of two parts: name and content. The name is unique within the same site, and repeatedly writing a key with the same name will overwrite the old value.
Same origin policy
The browser divides the storage space according to the combination of protocol, domain name and port. If any of the three are different, they are different sources, and each other cannot see the other's data, so this page can only read the content of the current site.
Storage limit
The upper limit of storage capacity available for a single site, usually on the order of several megabytes. Writing will fail after exceeding the limit, and old data needs to be cleared first.
Share across tabs
Multiple tabs of the same site see the same local storage, and modifications in one can be read in another. This also means that cleaning will affect all open tabs.
persistence
Data is retained even after the browser is closed. Because of this, if you don't clean it for a long time, the storage content will continue to accumulate.
Incognito mode
A mode where closing the window clears the storage. It will still write normally, but it won't leave a trace, so it won't be the same as what you see with a regular window.
site data
All traces left by a source in the browser, including storage, session storage, cache, etc. Cleaning site data will often return the site to the state it was in when it was first visited.
protected mark
Cookie tag set by the server and cannot be read by scripts. It does not appear in the list that the page can read, so the login credentials themselves are not visible to this page.
Caching and storage
The cache saves copies of resources that can be retrieved and can be downloaded again after deletion; the storage saves data that cannot be retrieved from the server and will be lost if deleted. They should be treated differently when cleaning.
Export backup
Organize the current key value into text and save it. Export before cleaning so you can restore key settings if needed.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Will the test leave data?
No. The test uses a temporary value, which is deleted immediately after writing.
Why does it appear unavailable?
Mostly due to prohibition of saving data, incognito mode or extended blocking.