开发者

WebSQL chrome admin tool

I am building an app using a web SQL database. I remember seeing so开发者_JAVA百科mewhere that there is a way using Google Chrome to inspect the web SQL databases, however I can't find the correct way of doing this.


You can inspect databases with Chrome DevTools using the Resources Panel.


Using PersistenceJS there is a persistence.reset API which will wipe the database clean. PersistenceJS Site

For developing / testing purposes, you can view content and delete webSQL, IndexedDB, cookies, etc by searching for your domain name at this URL in Chrome:

chrome://settings/cookies

There, you can delete all the storage for a domain or just certain local storage entities. Yes, the URL implies just 'cookies', but the interface at this URL includes all types of offline storage.

It would be great I think if the Chrome developer tools interface had the ability to right-click and delete a data storage entity in the Resources tab along with inspecting the content. But for now, all I know of is the settings/cookies URL.


You can use keyboard shortcut Ctrl + Shift + i to open developer tools on Chrome.
Then go to resources tab (pink oval in screenshot below)
When there click on WebSQL and you will see list of databases that you can expand (red oval in screenshot below).

WebSQL chrome admin tool

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜