title: How to change the HTML input type attribute from 'password' to' text'?
body: <p>I would like to change the HTML 'input' element 'type' attribute, from type="password" to type="text".</p>
  
  <p>I am aware that it would be easier to find element by ID but not every page has the same id for the password input. How do I target the password inputs and change their inner value to a type of text.</p>
  
  <p>I have this few lines of JavaScript code:</p>
  
  <pre><code>a=document.getElementsByTagName("input"); 
  a.setAttribute(type,text);
  </code></pre>