Given this support chart, can I assume that all the supporting browsers listed there enable this feature by default?
If not, what would be the simplest way to check if SessionStorage
is available?
if (!window.sessionStorage)
or
if (!("sessionStorage" in window))
How can I detect if Windows local storage is available?
HTML5 Local Storage fallback solutions
http://24ways.org/2009/breaking-out-the-edges-of-the-browser
http://mathiasbynens.be/notes/localstorage-pattern
https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills --> Web Storage