htmlUI « 5 Obscure Facts About HTML5 LocalStorage
LocalStorage is a handy API included in the "HTML5" wave that gives web developers an easy to use 5MB store on an users local machine. Using the LocalStorage API really couldn't be easier. It's a simple key/value dictionary with a simple API to match:
//Save a value to localStorage localStorage.setItem('key', 'value to save'); //OR localStorage.key = 'string value to save'; //Get the value back out of localStorage localStorage.getItem('key'); //OR localStorage.key; //Clear all localStorage values localStorage.cle
Additional text has been truncated due to copyright reasons. Things without URLs and private things don't get truncated.