You can execute the jQuery paste event to listen for the event and use prevenrDefault() to prevent the event.
In this page they used jQuery below
$('#pwd, #pwd2').bind('paste',function(e){ e.preventDefault(); alert('Please type your password.') });
Open Firebug, go to the Scripts tab, then find the line Please type your password. (Firebug search bar, not the browser search bar.), you will find the code above. And the code is present logon.asp

To disable , you simply use the off method, like this $('#id1').off() . this discards all events for an element with id='id1'
source share