如何删除indexedDB? [英] How to delete indexedDB?

查看:1470
本文介绍了如何删除indexedDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个涉及使用IndexedDB的项目中工作. 当我开始了解这项技术时,我需要能够手动删除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.

我找到了在Firefox中执行此操作的方法,但找不到适用于Google Chrome的方法.

I found the way to do it in Firefox, but I can't find the way for Google Chrome.

我尝试删除此文件夹的内容(我使用的是Mac):

I tried deleting the content of this folder (I'm using Mac):

{home}/Library/Application Support/Google/Chrome/Default/IndexedDB

但是Chrome似乎仍然在任何地方都有数据库,所以我无法重新开始.

but it seems Chrome stil have the DB anywhere so I can't start over.

推荐答案

从理论上讲,在Chrome中删除IndexedDB所需要做的就是:

In theory, all you need to do to delete an IndexedDB in Chrome is:

  1. 在Chrome中,转到选项">高级选项">内容设置">所有cookie和站点数据">查找创建IndexedDB的域
  2. 按"X"或单击索引数据库">删除

在Windows中,文件位于此处:

In Windows, the file is located here:

%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\IndexedDB

在Mac上,请执行以下操作:

On Mac, do the following:

  1. 在Chrome中,转到设置"(或Chrome菜单下的首选项")
  2. 点击显示高级设置"(在页面底部)
  3. 转到隐私">内容设置">所有cookie和站点数据">查找创建IndexedDB的域
  4. 按"X"或单击索引数据库">删除

在Mac上,该文件夹位于以下位置:

On Mac, the folder is located here:

/Users/[USERNAME]/Library/Application Support/Google/Chrome/Default/IndexedDB/

在Linux上,该文件夹位于:

On Linux, the folder is located at:

/home/[USERNAME]/.config/google-chrome/Default/IndexedDB/

这篇关于如何删除indexedDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆