Thursday, November 12, 2015

HTML5 local storage

https://developers.google.com/web/updates/2011/08/Saving-generated-files-on-the-client-side?hl=en

https://scotch.io/tutorials/use-the-html5-file-api-to-work-with-files-locally-in-the-browser

http://www.html5rocks.com/en/tutorials/file/dndfiles/

--------------

http://www.noupe.com/design/html5-filesystem-api-create-files-store-locally-using-javascript-webkit.html


--------------

http://www.w3schools.com/html/html5_webstorage.asp




<!DOCTYPE html>
<html>
<body>

<div id="result"></div>

<script>
// Check browser support
if (typeof(Storage) !== "undefined") {
    // Store
    localStorage.setItem("lastname", "Smith");
    // Retrieve
    document.getElementById("result").innerHTML = localStorage.getItem("lastname");
} else {
    document.getElementById("result").innerHTML = "Sorry, your browser does not support Web Storage...";
}
</script>

</body>
</html>