Hacker News new | ask | show | jobs
by gabrielsroka 592 days ago
this seems to work:

  document.querySelectorAll('input[type=password]').forEach(i => i.type = 'text')
or if there's only 1 password on the page

  document.querySelector('input[type=password]').type='text'