ct-bot-detector bug | WordPress.org

[ad_1]

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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer