Skip to content

Using the WebSQL Storage Implementation

rbackhouse edited this page Oct 30, 2011 · 5 revisions

Using the WebSQL Storage Implementation

If your browser supports WebSQL you can try using the WebSQL Storage Implementation. It can create databases larger than the typical 5MB local storage limit. Webkit based browsers (Chrome, Safari) support WebSQL.

To use :

<script src="lsjs.js"></script>
<script src="WebSqlStorage.js"></script>
<script type="text/javascript">
    lsjs(
    {
        timestampUrl: "./checktimestamps",
        storageImpl: new WebSqlStorage(10), // Create a 10MB db
......

Clone this wiki locally