Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-15-2023, 09:37 AM   #1
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
Can Scripts Detect COPY and PASTE actions?

To any devs here, can AI or scripts detect if a paragraph entry into a form/field

was done via TYPING or COPY and PASTE method? ty
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 09:52 AM   #2
Sly
Let's do some business!
 
Sly's Avatar
 
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,307
Many banks do this on their various forms. Example: when adding a new account to send money to, banks will request that you add the account number twice, but the second field is often blocked from pasting.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted

Windows VPS now available - 1st month free for GFY members - Great for TSS, Nifty Stats, remote work, virtual assistants, etc. DM to get set up.

Wanted: CCBill pay sites for sale
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 10:12 AM   #3
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
Quote:
Originally Posted by Sly View Post
Many banks do this on their various forms. Example: when adding a new account to send money to, banks will request that you add the account number twice, but the second field is often blocked from pasting.
besides the confirmation part.

Lets say its just a simple field, can you put an algo that can DETECT for copy and paste content?


I suppose the WPM would be like really high?
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 10:30 AM   #4
Sly
Let's do some business!
 
Sly's Avatar
 
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,307
Quote:
Originally Posted by lakerslive View Post
besides the confirmation part.

Lets say its just a simple field, can you put an algo that can DETECT for copy and paste content?


I suppose the WPM would be like really high?
This is done in real time. There's no submission. It will not let the user issue the Paste command.
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted

Windows VPS now available - 1st month free for GFY members - Great for TSS, Nifty Stats, remote work, virtual assistants, etc. DM to get set up.

Wanted: CCBill pay sites for sale
Sly is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 10:45 AM   #5
Colmike9
(>^_^)b
 
Colmike9's Avatar
 
Industry Role:
Join Date: Dec 2011
Posts: 7,223
I think it still works if you turn off JS, though
__________________
Join the BEST cam affiliate program on the internet!
I've referred over $1.7mil in spending this past year, you should join in.
I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..
Colmike9 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 10:48 AM   #6
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,058
https://www.w3schools.com/jsref/event_onpaste.asp

https://developer.mozilla.org/en-US/...nt/paste_event
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 02:22 PM   #7
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
No you don't get it..

Example

As I am typing this message to reply to your message, can a script be made to DETECT if its a TYPED message or a COPIED and PASTED message?????
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 02:26 PM   #8
pornmasta
Too lazy to set a custom title
 
pornmasta's Avatar
 
Join Date: Jun 2006
Posts: 19,098
Quote:
Originally Posted by lakerslive View Post
No you don't get it..

Example

As I am typing this message to reply to your message, can a script be made to DETECT if its a TYPED message or a COPIED and PASTED message?????
Why don't you find this yourself:
https://developer.mozilla.org/en-US/docs/Web/API/Element/paste_event

Did you never use events before?
pornmasta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 02:35 PM   #9
Huggles
GFY'S #1 retard
 
Industry Role:
Join Date: Feb 2003
Location: Kelowna
Posts: 10,826
Maybe a real webmaster and not a brokie like me can correct this, but if you run .js files, can't those .js files basically detect nearly anything the mouse and user is up to?
__________________
I make my money from people jerking off
Huggles is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 03:02 PM   #10
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,091
Quote:
Originally Posted by lakerslive View Post
No you don't get it..

Example

As I am typing this message to reply to your message, can a script be made to DETECT if its a TYPED message or a COPIED and PASTED message?????

That might be because your title asks one thing and your post asks another.


Your title asks if the actions of copy and paste can be detected and the answer to that is yes, they are events that can be captured.

Quote:
Can Scripts Detect COPY and PASTE actions?

Your post on the other hand asks something quite different and that is whether a script can detect whether something has been copied and pasted into a field and that answer would be no. Once the data is in the field it would appear no different to the script whether it was typed or copy pasta.

Quote:
To any devs here, can AI or scripts detect if a paragraph entry into a form/field

was done via TYPING or COPY and PASTE method? ty
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-15-2023, 05:29 PM   #11
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
iver seen some news sites if you copy and paste, it will paste the selection plus add their website in another line
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2023, 07:06 AM   #12
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
AI may be able to detect typing pattern anomalies, but a simple calculation of average time between characters would probably catch most. You don't need AI for everything!

One of my sites flags potential fraud by detecting copy/paste (via javascript), unusually low intervals between each keypress, and zero uses of the backspace key.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2023, 07:47 AM   #13
pornmasta
Too lazy to set a custom title
 
pornmasta's Avatar
 
Join Date: Jun 2006
Posts: 19,098
Quote:
Originally Posted by rowan View Post
and zero uses of the backspace key.
🤣 omg ....
pornmasta is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2023, 09:59 PM   #14
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 48,969
Quote:
Originally Posted by lakerslive View Post
To any devs here, can AI or scripts detect if a paragraph entry into a form/field

was done via TYPING or COPY and PASTE method? ty
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.

Try this:

Code:
// Get input element
var input = document.getElementById('myInput');

// Listen for keydown
input.addEventListener('keydown', function(event) {
    console.log('User is typing');
});

// Listen for copy-paste 
input.addEventListener('paste', function(event) {
    console.log('User pasted some text');
});
__________________

Custom Coding | Videochat Solutions | Age Verification | IT Help & Support
www.2Much.net
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-18-2023, 10:05 PM   #15
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
Old 10-19-2023, 02:04 AM   #16
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by rowan View Post
Important to note that not all browsers support these events, so this is just one part of detecting (probable) copy-paste.
Looks like coverage is good:
https://developer.mozilla.org/en-US/...nt/paste_event

And chrome is only browser which actually matter.
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-19-2023, 02:20 AM   #17
rowan
Too lazy to set a custom title
 
Join Date: Mar 2002
Location: Australia
Posts: 17,393
Quote:
Originally Posted by Klen View Post
Looks like coverage is good:
https://developer.mozilla.org/en-US/...nt/paste_event

And chrome is only browser which actually matter.
If you're trying to prevent fraud, the last statement isn't really helpful. Also, there may be privacy plugins which disable these events. I have seen numerous copy and paste entries to my site which do NOT fire the event.
rowan is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
paste, copy, detect, scripts, form/field, typing, method, entry, devs, paragraph, actions



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.