Skip to content

Instantly share code, notes, and snippets.

@Bouke
Last active December 14, 2015 21:19
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 Bouke/5150181 to your computer and use it in GitHub Desktop.
Save Bouke/5150181 to your computer and use it in GitHub Desktop.
Random Password Generator Bookmarklet
javascript:(function() {
tmp = "";
for (var i=0; i<24; i++) {
tmp += String.fromCharCode((Math.random() * 94 | 0) + 33);
}
prompt("Your password", tmp);
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment