- From: ~:'' ありがとうございました <j.chetwynd@btinternet.com>
- Date: Mon, 27 Jul 2009 17:15:14 +0100
- To: Joseph Pecoraro <joepeck02@gmail.com>
- Cc: public-webapps@w3.org, Doug Schepers <schepers@w3.org>, Charles McCathieNevile <chaals@opera.com>
Joseph, thanks for that, had tried document but not window regards ~:" On 27 Jul 2009, at 16:41, Joseph Pecoraro wrote: >> 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? > > How about either of the following, they both worked as expected for > me. > > // Check for the Storage interface > if (window.Storage) { ... } > > // Check for an instance of the interface > if (window.localStorage) { ... } > > - Joe
Received on Monday, 27 July 2009 16:15:52 UTC