How to use js to simulate text as a password type?

since my website does not use https, to access the login page of my website under firefox, firefox will clearly indicate that the link to this site is not secure and the login information entered will be stolen.

I would like to ask, how can I change this password form to text, without changing the site to https access, but also display it as an asterisk when the user enters the password?

I"m not asking how to simply change the input type attribute from text to password. Don"t answer that, thank you!


acem , let's just https. It's free and simple. Why not

Menu