Last active
December 29, 2015 04:39
-
-
Save alexec/7616854 to your computer and use it in GitHub Desktop.
Reveal Passwords
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var is=document.getElementsByTagName('input');for (var i=0;i<is.length;i++){var x=is[i];if (x.type=='password') {x.type='text'}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cope the above text. Create a bookmark for this (or any page) and edit it's address, past the text but prepend with "javascript:", e.g. "javascript:var is=document.getElementsByTagName('input');for (var i=0;i<is.length;i++){var x=is[i];if (x.type=='password') {x.type='text'}}"