Reputation: 43833
In IE10 how can I check how much space is left in indexed db api? I saw this page
http://demo.agektmr.com/storage/
but I think it says not supported. Does anyone know?
Thanks.
Upvotes: 1
Views: 205
Reputation: 3467
Not absolutely sure, but to the best of my knowledge there isn't any limit set for indexedDB, which means that if there is no limit you cannot work out how much more is left. (At least based on Mozilla Developers - https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API).
Now some other posts like this one suggest that IE10 is suffering of a 250MB limit, so you could try to work with this figure and create your own small script which calculates 250Mb - current usage
for the space left, but this isn't a very precise method.
Upvotes: 1