Web Storage how to check for support?

http://dev.w3.org/html5/webstorage/#the-storage-interface
Web Storage how to check for support?


How can one in a script check for UA support?
else if(localStorage){}
does not work for Opera**.

regards

Jonathan Chetwynd

mozilla and safari have implemented at least some parts of this  
specification.
however it appears that Opera has not.

**DSK-260008@bugs.opera.com

Received on Monday, 27 July 2009 15:27:16 UTC