View Single Post
Old 10-18-2023, 10:05 PM  
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by 2MuchMark View Post
Of course! You can use JavaScript to list to specific events that are triggered during user interaction with input fields. You can listento Keydown/Kepress events, and you can listen for paste events.
Important to note that not all browsers support these events, so this is just one part of detecting (probable) copy-paste.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote