gr2m

gr2m/has-localstorage

returns true if localStorage is supported _and_ persistent

JavaScript
6
1
No license

This project provides a small utility function that checks whether `localStorage` is both supported by the browser *and* persistent, meaning data will be saved across sessions. It's designed for web developers who need to reliably conditionally use client-side storage, especially to avoid issues in browsers like Safari's private mode where `localStorage` exists but does not

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

gr2m's profile
gr2m
10 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet