為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Clear all local data and stores in dev tools

  • 3 回覆
  • 1 有這個問題
  • 221 次檢視
  • 最近回覆由 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