Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> That and Firefox’s Storage inspector is terrible, there isn’t a native way to clear localstorage during development.

While I agree that the inspector could be improved, this is false. Dev tools > Storage tab > Expand local storage > Select domain > Right click a key/value > Select "Delete all". Done.



Thanks for clarifying that- you are correct. That doesn't seem to work on cache domains, but if I scroll down to other types of storage I can indeed delete items all at once or individually. When I tried that now it wasn't repainting so it appeared to have no effect, but when I refreshed within the Storage inspector the data was gone. When I refresh the page, repainting after deleting started working as expected. Weird.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: