A test of the Indexed Database API. It simply records and displays when the user has already visited the page.
The code illustrates the creation of the schema, the definition of an auto-increment key, the use of a transaction to write to and read from the DB. Date formatting is done by using the Moment.js library.
If you want to delete the database from your browser, follow this guide (Chrome).
References: the W3C specification, an article on HTML5 rocks.
https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js