I\'m writing a bookmarklet and I need to be able to prompt the user for a \"password\". However, I don\'t want it to be in clear text on screen, so I cannot use prompt.
The easy, fast answer: No, there are no cross browser method like window.prompt() that masks the user input. There are however some proprietary stuff you could look into. In MSIE you got window.createPopup(), window.showModalDialog() and window.showModelessDialog(). However I don´t reccomend using this approach =P
What would happen if you used http authentication for your destination? Would the UA prompt the user with a un/pw?