Skip to content

Instantly share code, notes, and snippets.

@githubutilities
Created March 5, 2015 13:06
Show Gist options
  • Select an option

  • Save githubutilities/5d99fdfdaedbb25883df to your computer and use it in GitHub Desktop.

Select an option

Save githubutilities/5d99fdfdaedbb25883df to your computer and use it in GitHub Desktop.
Some Javascript Hacks

Show hidden password

Type javascript:alert(document.getElementById('password').value) into address bar or run document.getElementById('password').value in developer console, you will get the password.

Make any webpage editable

document.body.contentEditable='true'; document.designMode='on';

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment