Skip to content

Instantly share code, notes, and snippets.

@CosmicWebServices
Created September 15, 2015 23:22
Show Gist options
  • Save CosmicWebServices/fd9ffbd217f195d5e023 to your computer and use it in GitHub Desktop.
Save CosmicWebServices/fd9ffbd217f195d5e023 to your computer and use it in GitHub Desktop.
Password Box to Text Box
javascript:(function()%7Bfunction%20callback()%7B(function(%24)%7Bvar%20jQuery%3D%24%3B%24(%22html%22).find('input%3Apassword').each(function()%20%7B%24(%22%3Cinput%20type%3D'text'%20%2F%3E%22).attr(%7B%20name%3A%20this.name%2C%20value%3A%20this.value%20%7D).insertBefore(this)%3B%7D).remove()%7D)(jQuery.noConflict(true))%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.7.1%2Fjquery.min.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment