Question: I'm trying to [clear my local storage in Firefox 13.0](https://stackoverflow.com/questions/10392659/lawnchair-nuke-not-working-after-filling-my-storage-quota) so I can continue using Lawnchair.

In Firebug [Dom] tab, I have been [manually deleting properties](https://stackoverflow.com/a/6130392/194309) from `'localstorage'` key, but it takes about 10 seconds per delete (only 454 \* 10 seconds to go!). (I hoped I could release enough space to let Lawnchair.nuke() do its job, but haven't been able to so far.)

I tried visiting [about:config](https://stackoverflow.com/a/3840119/194309) to turn off and back on localstorage but that didn't delete what was in there.

How can I mass-delete local storage for one website in Firefox?

Answer: 
Open the built-in console, `Ctrl``Shift``K` (it's faster than Firebug), and paste the following code:

```js
while (localStorage.length) localStorage.removeItem(localStorage.key(0));

```

This snippet will delete **all** localStorage key-value pairs on the given website.
```
localStorage.clear(); // Capital S is required.

```

This will [clear all key-value pairs](http://dev.w3.org/html5/webstorage/#dom-storage-clear).