Prevent browser autocomplete in password

Asked

Viewed 85 times

3

I have a lock screen that depresses the user by inactivity, asking only the password of the same to access again. It happens that this screen has no use if autocomplete is on, since anyone can touch this pc and enter the account of this user. I did a lot of research and I saw that autocomplete="off", for example, it is already being ignored by browsers.

Does anyone know a functional method to solve this problem? By Jquery, a plugin something like that. Or really only the client disabling the password guard option?

1 answer

0

Browsers probably only complete the first password field, try adding an invisible password field (style="opacity: 0;position: absolute") and then insert into the code what you will actually use.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.