Replies: 4 comments 3 replies
-
Detects when a bot attempts to add a visualization of how the mouse moves (draws mouse path on a canvas) |
Beta Was this translation helpful? Give feedback.
-
I don't really understand. You're making the bot draw something and if it's a bot the coordinates will be wrong? |
Beta Was this translation helpful? Give feedback.
-
No, some bots just add mouse-path visualization lol. |
Beta Was this translation helpful? Give feedback.
-
Ah ok, clever I'm looking at the code and I don't understand why you need to proxy the apply call
Why don't you just draw the arc normally and look at the mouse position? |
Beta Was this translation helpful? Give feedback.
-
What's happening here?
What is the significance of this -
CanvasRenderingContext2D.arc has been called with
cordinates +-5px at current mouse position
canvas +-1px covers the whole page
canvas passes pointerEvents through
Why does this detect a bot?
Is this original work or where did you find it?
I can't make sense of it.
Thx
Beta Was this translation helpful? Give feedback.
All reactions