document.querySelectorAll('input[type=password]').forEach(i => i.type = 'text')
document.querySelector('input[type=password]').type='text'