Skip to content

Instantly share code, notes, and snippets.

@jeffehobbs
Created May 4, 2013 14:28
Show Gist options
  • Save jeffehobbs/5517656 to your computer and use it in GitHub Desktop.
Save jeffehobbs/5517656 to your computer and use it in GitHub Desktop.
Bookmarklet to remove all password masking from page: Changes "type" of all input fields from "password" to "text". Because no one is looking over your shoulder, greybeard.
javascript:(function(e,a,g,h,f,c,b,d)%7Bif(!(f%3De.jQuery)%7C%7Cg>f.fn.jquery%7C%7Ch(f))%7Bc%3Da.createElement("script")%3Bc.type%3D"text/javascript"%3Bc.src%3D"http://ajax.googleapis.com/ajax/libs/jquery/"%2Bg%2B"/jquery.min.js"%3Bc.onload%3Dc.onreadystatechange%3Dfunction()%7Bif(!b%26%26(!(d%3Dthis.readyState)%7C%7Cd%3D%3D"loaded"%7C%7Cd%3D%3D"complete"))%7Bh((f%3De.jQuery).noConflict(1),b%3D1)%3Bf(c).remove()%7D%7D%3Ba.documentElement.childNodes%5B0%5D.appendChild(c)%7D%7D)(window,document,"1.9.1",function(%24,L)%7B%24(%27input%5Btype%3Dpassword%5D%27).attr(%27type%27,%27text%27)%3B%7D)%3B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment