Created
August 16, 2012 02:45
-
-
Save tfentonz/3365928 to your computer and use it in GitHub Desktop.
dotjs to remove any password input onpaste events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remove any password input onpaste events | |
$('input:password[onpaste]').each(function() { | |
$(this).attr('onpaste', ''); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment