Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 24th, 2010  |  syntax: JavaScript  |  size: 0.20 KB  |  views: 199  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. javascript:var els = document.getElementsByTagName('input');
  2.   for(var x = 0; x < els.length; x++) {
  3.     if(els[x].type.toLowerCase() == 'password' ) {
  4.       var test = els[x].type = 'text';
  5.     }
  6.   }
clone this paste RAW Paste Data