Skip to content

Instantly share code, notes, and snippets.

@tfentonz
Created August 16, 2012 02:45
Show Gist options
  • Save tfentonz/3365928 to your computer and use it in GitHub Desktop.
Save tfentonz/3365928 to your computer and use it in GitHub Desktop.
dotjs to remove any password input onpaste events
// 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