Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
显然 SQL 存储已被 W3C 弃用(谢天谢地),并且 IndexedDB 似乎是推荐的。另一方面,我遇到了以下情况:
var indexedDB = window.indexedDB || window.webkitIndexedDB || 窗口.mozIndexedDB;
这与我有关。
支持IE吗?各种浏览器的支持程度如何?我似乎找不到列出此信息的页面。
以下是桌面和移动浏览器中支持 IndexedDB 的兼容性表。:http: //caniuse.com/indexeddb