Show hidden inputs

The code

var e = document.getElementsByTagName('input');
for (i = 0; i < e.length; i++) {
  if (e[i].type == 'password') {
    e[i].type = 'text';
  }
}
void(0);

Example

The next form has one password input. Click the next link and/or add it to your bookmarks.

Test it

Example
Some inputs: