如何在Chrome中删除indexedDB [英] How to delete indexedDB in Chrome
问题描述
我正在参与一个涉及使用IndexedDB的项目。
当我开始了解这项技术时,我需要手动删除一个indexedDB,以便重新开始。
我找到了方法在Firefox中,但我无法找到Google Chrome的方式。
我尝试删除此文件夹的内容(我正在使用Mac):
{home} / Library / Application Support / Google / Chrome / Default / IndexedDB
但似乎Chrome stil在任何地方都有数据库,所以我无法重新开始。
从理论上讲,在Chrome中删除IndexedDB需要做的是:- 在Chrome中,转到选项>设置>所有Cookie和站点数据>找到创建IndexedDB的域
- 点击X或点击索引数据库>删除
在Windows中,文件位于此处:
%USERPROFILE%\AppData \Local\Google\Chrome\\ \\用户数据\默认\索引数据库
在Mac上,执行以下操作:
- 在Chrome浏览器中,转到设置(或Chrome菜单下的首选项)。
- 点击显示高级设置
- 转到隐私>内容设置>所有Cookie和网站数据>查找您创建IndexedDB的域
- 点击X或点击索引数据库>删除
在Mac上,文件夹位于: p>
/ Users / [USERNAME] / Library / Application Support / Google / Chrome / Default / IndexedDB /
$ c
$ b 在Linux上,该文件夹位于:
/ home / [USERNAME] / .config / google-chrome / Default / IndexedDB /
I'm working in a project which involves using IndexedDB.
As I'm begining to know this technology, I need to be able to delete an indexedDB by hand so I can start over.
I found the way to do it in Firefox, but I can't find the way for Google Chrome.
I tried deleting the content of this folder (I'm using Mac):
{home}/Library/Application Support/Google/Chrome/Default/IndexedDB
but it seems Chrome stil have the db anywhere so I can't start over.
解决方案 In theory, all you need to do to delete an IndexedDB in Chrome is:
- In Chrome, go to Options > Under the Hood > Content Settings > All cookies and Site Data > find the domain where you created the IndexedDB
- Hit either the "X" or click "Indexed Database" > Remove
In Windows, the file is located here:
%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\IndexedDB
On Mac, do the following:
- In Chrome, go to "Settings" (or "Preferences" under the Chrome menu)
- Click "show advanced settings" (at the bottom of the page)
- Go to "Privacy" > "Content Settings" > "All cookies and Site Data" > find the domain where you created the IndexedDB
- Hit either the "X" or click "Indexed Database" > Remove
On Mac, the folder is located here:
/Users/[USERNAME]/Library/Application Support/Google/Chrome/Default/IndexedDB/
On Linux, the folder is located at:
/home/[USERNAME]/.config/google-chrome/Default/IndexedDB/
这篇关于如何在Chrome中删除indexedDB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!