After going through specification on HTML5 Storage: http://www.whatwg.org/specs/web-apps/current-work/multipage/webstorage.html#event-storage
In the paragraph 11.3 Disk space I have read that
User agents should allow users to see how much space each domain is
using.
But there is no information on how I can do this.
The only solution I came up with – is a hack like this:
JSON.stringify(localStorage).length
Is there a normal way to do it, because in my case you can see just one domain, not each domain.
An no one gave any response, I will be additing my own answer with whatever information I will find.
JSON.stringify(localStorage).lengthapproximate number works for every browserIE:
can be used through JS:
window.localStorage.remainingSpaceChrome:
through Settings>Content Settings>Cookies & Site data