为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Clear all local data and stores in dev tools

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

Hi, developer question here:

How can I one-click delete all data in all stores for a website? DevTools give me the "Storage" tab, but I have to go through every single store (cookies, local, session, etc) and delete every data entry one-by-one. Chrome eg has a very usefull "celar all data" button in their DevTools.

Thanks!

Hi, developer question here: How can I one-click delete all data in all stores for a website? DevTools give me the "Storage" tab, but I have to go through every single store (cookies, local, session, etc) and delete every data entry one-by-one. Chrome eg has a very usefull "celar all data" button in their DevTools. Thanks!

被采纳的解决方案

Delete browsing, search and download history on Firefox {web link}

Remove a single website from your history {web link}

Open the History Manager <Control> (Mac=<Command>) <Shift> H. In the search bar, enter the name of the site. Right-click on one of the listings and select Forget About This Site. This should remove all information, including any site settings And Passwords.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

Delete browsing, search and download history on Firefox {web link}

Remove a single website from your history {web link}

Open the History Manager <Control> (Mac=<Command>) <Shift> H. In the search bar, enter the name of the site. Right-click on one of the listings and select Forget About This Site. This should remove all information, including any site settings And Passwords.

more options

I wish this would be also available in DevTools to avoid context switching, but its works :)

more options

You can right-click items listed in cookies, indexed DB, local, session in the left panel in the Storage Inspector to have "Delete All" available to remove all items shown in the right panel. "Delete All" is only available when there are items to remove and you need to go through the entire list in the left panel, but there is no need to delete items in the right panel if that is what you were doing. https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/index.html#storage-inspector-storage-tree