/storage.js

a fallback object of sessionStorage for legacy browsers

Primary LanguageJavaScriptMIT LicenseMIT

Storage.js

Storage.js add a fallback object of sessionStorage for legacy browsers. (ex. IE6,7)
It uses the cookie, so the maximum size that can be stored is about 4KB.
It also shares the data between multiple tabs.

Property

length

Methods

key

getItem

setItem

removeItem

clear

License

Storage.js is available under the terms of the MIT license.