I'm using the localStorage in my web application to save al kinds of data. However this does not seem to work with internet explorer 10.
When i try to test this with:
localStorage.testItem = "testing"
it works fine, however when I try
localStorage.setItem('testItem', 'testing');
I get an error: More data available. What is going on here?
IE also supports localStorage from IE8 but it does not support localStorage in IE7 and previous versions. Cookies are small text files stored by browsers allowing for a max of 4KB while with localStorage we can store Mbs of localStorage data.
With the extension's background page open, just go to the developer tools by pressing F12, then go to the Application tab. In the Storage section expand Local Storage. After that, you'll see all your browser's local storage there.
localStorage is a property that allows JavaScript sites and apps to save key-value pairs in a web browser with no expiration date. This means the data stored in the browser will persist even after the browser window is closed.
I don't have a solid answer for this, but I've been debugging this error on a remote user's box for about a month. I haven't had direct access to the box, but what I do know is:
localStorage
caused the "SCRIPT234: More data is available" exception. This is slightly different than the OP's problemUltimately, the error stopped appearing, but the actual fix is unknown to me. The user did clear the browser cache (maybe it was corrupted?) just before it was resolved, but it could also have been a Windows update that resolved the problem, or some other unknown change. At this point, I have no idea how to reproduce it, but hopefully some of the info above will help the next person who runs into it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With