Last active
December 14, 2015 21:50
-
-
Save daronspence/365ce803c85de9729ad7 to your computer and use it in GitHub Desktop.
Show Password for Active Field
This file contains hidden or 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
( | |
function(){ | |
document.activeElement.setAttribute('type', 'text'); | |
} | |
)(); | |
// Encoded // javascript:(function()%7Bdocument.activeElement.setAttribute('type'%2C 'text')%7D)() |
You can also use this site to create the bookmarklet. Just paste lines 1-5 in the giant text box. http://mrcoles.com/bookmarklet/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add the encoded version as a bookmarklet to easily view your passwords if you're unsure what you may have typed. Especially useful for pre-filled forms on sites where you may have multiple accounts. :)
Just copy and paste everything on line 7 after the second set of
//
into the URL field for your bookmark.Note: You may need to use the bookmark manager in your web browser to manually enter the URL.