Home >Web Front-end >HTML Tutorial >chrome prevents automatic filling of passwords_html/css_WEB-ITnose

chrome prevents automatic filling of passwords_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:46:311383browse

is to prevent, not to prohibit. Disabling requires a browser setting.

After the Chrome browser saves the password, the username and password will be automatically filled in when there is a password on the page.

Adding the disableautocomplete and autocomplete="off" attributes did not achieve the expected effect.

I found that the test page would not automatically fill in when there were two passwords, so I added a password with display: none on the page,

succeeded,

over: -D

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn