How to delete indexedDB?

后端 未结 17 2088
忘了有多久
忘了有多久 2020-12-02 05:16

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.

17条回答
  •  渐次进展
    2020-12-02 06:17

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

    1. In Chrome, go to Options > Under the Hood > Content Settings > All cookies and Site Data > find the domain where you created the IndexedDB
    2. 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:

    1. In Chrome, go to "Settings" (or "Preferences" under the Chrome menu)
    2. Click "show advanced settings" (at the bottom of the page)
    3. Go to "Privacy" > "Content Settings" > "All cookies and Site Data" > find the domain where you created the IndexedDB
    4. 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/
    

提交回复
热议问题