Skip to content

Instantly share code, notes, and snippets.

@gunesacar
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gunesacar/aecff0fffefb24c26f4c to your computer and use it in GitHub Desktop.
Save gunesacar/aecff0fffefb24c26f4c to your computer and use it in GitHub Desktop.
<!doctype html>
<html>
<head>
<title>localStorage example</title>
<script type="application/javascript">
function set_ls() {
localStorage['ab'] = 'ab'; // doesn't contain enough entropy
}
</script>
</head>
<body onload="set_ls()">
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment