
YouShallPass is a small JavaScript library which automatically masks your password strings after a certain delay as you seen on the iPhone.
How to use it:
Download and link to the main JavaScript ‘YouShallPass.js’:
<script src="YouShallPass.js"></script>
Initialize the library and specify the masking pattern and delay time.
var ysp = new YouShallPass("*", 800);Enable the password mask functionality on your text field.
<input type="text" id="passwd">
document.querySelector("#passwd").addEventListener('input', ysp.keyboardInputHandle.bind(ysp));






