For Chrome, I can use IndexedDB and WebSQL, for Firefox, I can use IndexedDB, what about IE? I have developed an app that uses WebSQL and it works fine on desktop Chrome and Safari, iOS Safari and Android browser. Next, I want to port it to Desktop Firefox and IE. I'm considering IndexedDB, but finding out IE doesn't really support it. What alternative do I have?
IE10 supports IndexedDB
. You can also use localStorage
in IE8+. For older versions, you can use proprietary userData
behavior: http://www.javascriptkit.com/javatutors/domstorage2.shtml
Please note that WebSQL database is deprecated and specification is no longer maintained.