Skip to content

Instantly share code, notes, and snippets.

@jonkemp
Created March 31, 2011 21:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonkemp/897272 to your computer and use it in GitHub Desktop.
Save jonkemp/897272 to your computer and use it in GitHub Desktop.
A bookmarklet for clearing data saved to localStorage in whatever domain you are on.
<a href="javascript:(function(){localStorage.clear();})();">Clear localStorage</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment