Pemeriksaan LocalStorage

<script type="text/javascript">

function testSupport() {  
if (localStorage)  {return "Local Storage: Supported"}
else  {
return "Local Storage: NOT supported";  
}
} 

alert ( testSupport() );
</script>
Black Beetle