sergkub / local-storage-js Goto Github PK
View Code? Open in Web Editor NEWThis project forked from wojodesign/local-storage-js
Cross Browser HTML5 Local Storage Polyfill
Home Page: wojodesign.com
This project forked from wojodesign/local-storage-js
Cross Browser HTML5 Local Storage Polyfill
Home Page: wojodesign.com
/**********************************************************/ Cross Browser HTML5 Local Storage Support /**********************************************************/ Brett Wejrowski Wojo Design wojodesign.com [email protected] The script implements a replacement for HTML5's localStorage when it is not supported. It implements a nearly identical interface using userData for IE6-7 and globalStorage for FF2-3. You can find the spec of the HTML5 storage at http://www.w3.org/TR/2009/WD-webstorage-20091222/ localStorage.setItem( key , value ); // saves a new name/value pair if the key doesn't exist, otherwise // updates the value localStorage.getItem( key ); // returns the value associated with the given key, if it exists // returns null if the key doesn't exist localStorage.length; // the number of unique keys stored localStorage.removeItem( key ); // deletes the name/value pair with the given key, if it exists // if it does not exist, exits localStorage.clear(); // delete all name/value pairs currently stored localStorage.key( n ); // returns the name of the nth key in the list, will return null if n is // greater than or equal to localStorage.length
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.