Easy, quick answer: No, there is no cross-browser method, such as window.prompt (), that masks user input. However, there are some proprietary materials that you could study. In MSIE you got window.createPopup (), window.showModalDialog (), and window.showModelessDialog (). However, I do not recommend using this approach = P
What happens if you use HTTP authentication for your destination? Will the UA ask the user using un / pw?
source
share