• Resolved harryfear

    (@harryfear)


    TypeError in ct-bot-detector script on clipboard data access:
    https://moderate.cleantalk.org/1.1.23/ct-bot-detector.min.js

    Environment:

    • Browser: Chrome 119.0.0 on desktop and mobile

    Steps to Reproduce:

    1. Navigate to the page with the ct-bot-detector script.

    Actual Result: The script throws a TypeError when trying to access clipboard data, preventing text from being pasted into the input field.

    TypeError: Cannot read properties of undefined (reading 'getData')
    at HTMLInputElement. (ct-bot-detector.min.js:1:1900)

    The error occurs because the script tries to access clipboard data using clipboardData.getData("text"), but fails due to clipboardData being undefined. This could be due to browser security settings or improper handling of the clipboard event.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.