To check if the browser supports Html5 localStorage you can use the following code snippet.
Sample Javascript
function IsSupportingHtml5Storage() {
try {
return 'localStorage' in window && window['localStorage'] !== null;
} catch (ex) {
return false;
}
}
for more informations see W3Schools: HTML5 Web Storage
RT @CodeSnippetsNET: Check if browser supports Html5 localStorage: http://t.co/PqUiEyHrkE #js #html