IndexDB 跨浏览器的支持状况如何?

发布于 2024-12-20 09:17:02 字数 226 浏览 3 评论 0原文

显然,W3C 不推荐使用 SQL 存储(值得庆幸的是),而 IndexedDB 似乎是推荐的。另一方面,我遇到过类似以下的事情:

var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB;

这让我很担心。

支持IE浏览器吗?各种浏览器的支持级别是多少?我似乎找不到列出此信息的页面。

Apparently the SQL storage is deprecated by W3C (thankfully), and the IndexedDB seems to be the recommendation. On the other hand, I've come across things like the following:

var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB;

Which concerns me.

Is IE supported? What is the level of support for the various browsers? I can't seem to find a page that lists this information.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

末骤雨初歇 2024-12-27 09:17:02

以下是桌面和移动浏览器中 IndexedDB 支持的兼容性表。: http://caniuse.com/indexeddb

Here is a compatibility table for support of IndexedDB in desktop and mobile browsers.: http://caniuse.com/indexeddb

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文