UNPKG

password-forge

Version:

Forge password input to prevent browser from saving or autofilling password

4 lines (3 loc) 129 B
if ('webkitTextSecurity' in document.documentElement.style) { document.documentElement.classList.add('webkit-text-security') }