How can I make a really long string using IndexedDB without crashing the browser?
Storing a Blob will use a lot less space and resources as there is no longer a need for conversion to base64. You can even store “text/plain” objects as blobs: var blob = new Blob([‘blob object’], {type: ‘text/plain’}); var store = db.transaction([‘entries’], ‘readwrite’).objectStore(‘entries’); // Store the object var req = store.put(blob, ‘blob’); req.onerror = function(e) … Read more