Skip to content

Instantly share code, notes, and snippets.

@jhammann
Created July 15, 2013 15:06
Show Gist options
  • Save jhammann/6000700 to your computer and use it in GitHub Desktop.
Save jhammann/6000700 to your computer and use it in GitHub Desktop.
Paste this javascript line into Chrome's console to check how much size your current local storage takes up.
// paste this in your chrome's console
for(var x in localStorage)console.log(x+"="+((localStorage[x].length * 2)/1024/1024).toFixed(2)+" MB");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment