localStorageの履歴

http://item.mindia.jp/nishiko_dev/html5/

にて利用

めっちゃ簡単

呼び出し

for (var i = 0; i < localStorage.length; i++) {
 var key = localStorage.key(i);
  memos[key] = localStorage[key];
}

保存

localStorage[key] = value;

削除

localStorage.removeItem(key);