title: Change event input character
body: <p>Is it possible to simply change the character, that is written in the text field, by changing some of the <code>event</code> object properties? For example, I want to hide password characters from command:<br>
  User types:</p>
  
  <blockquote>
    <p>login username password</p>
  </blockquote>
  
  <p>I want to appear:</p>
  
  <blockquote>
    <p>login username <code>********</code></p>
  </blockquote>
  
  <p>And save password to variable. So, i want to remap any key to <code>*</code> once the <code>textbox.value</code> contains <code>/^login [a-zA-Z0-9]+ /</code>.  </p>
  
  <p><strong>Edit</strong> - respectfully to comments speaking of misunderstanding my question:<br>
  Because all above happens within a little command line client, and there may be multiple commands, that I may want to protect by <code>*</code> obfuscation, no thoughts of using <code>&lt;input type="password" /&gt;</code> are acceptable!</p>