本文介绍了Google Chrome扩展程序 - Webdb或IndexDB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发Google Chrome扩展程序,其中我们需要存储来自特定网站的所有视频信息。所以我们正在考虑webdb的选项。
,现在我们对使用webdb或indexdb感到困惑。



截至目前我认为,indexdb仍然是实验性的,对吗?
,如果我们使用indexdb,db甚至不会在dev中显示。工具db部分,其中webdb将显示,以便我们可以在那里查询内容。

解决方案

使用IndexedDB。 WebSQL已被,并且将来将从Chrome中移除。 Chrome的开发渠道具有开发工具支持,用于查看IndexedDB数据库。


we are in process of developing google chrome extension, in which we need to store all the video information from a particular website. so we are considering the option of webdb.and now we are getting confused between to use webdb or indexdb..

As of now i think that, indexdb is still experimental, is that correct? and, if we use indexdb, the db even will not show up in dev. tools db section, where as webdb will show up, so that we can do query stuff in there..

please shed some light and put us in correct direction

解决方案

Use IndexedDB. WebSQL has been officially deprecated and will be removed from Chrome in the future. The dev channel of Chrome has experimental dev tools support for viewing IndexedDB databases.

这篇关于Google Chrome扩展程序 - Webdb或IndexDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 13:21