fixed bestellformular
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 50s
All checks were successful
Build and Deploy Hugo Site / buildAndDeploy (push) Successful in 50s
This commit is contained in:
parent
304c20e618
commit
5c401526bb
1 changed files with 0 additions and 5 deletions
|
|
@ -43,8 +43,6 @@ const captchaInput = document.querySelectorAll('.captcha-input')
|
|||
const captchaVerifyButton = document.querySelectorAll('.captcha-verify')
|
||||
|
||||
// Form fields
|
||||
const subjectField = document.getElementById('subject')
|
||||
const messageField = document.getElementById('description')
|
||||
|
||||
const botBadge = document.createElement('div')
|
||||
if (debugEnabled) {
|
||||
|
|
@ -117,9 +115,6 @@ function validateZSRNumber(form) {
|
|||
function checkForBotBehavior() {
|
||||
let timeSpent = (Date.now() - startTime) / 1000
|
||||
botDetected =
|
||||
subjectField.value === "I promised." ||
|
||||
// or if messageField Has string "Hi, this is" in it
|
||||
messageField.value.startsWith("Hi, this is") ||
|
||||
!userInteracted ||
|
||||
interactionCount === 0 ||
|
||||
timeSpent < interactionThreshold ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue