在reCAPTCHA v2 invisible的客户端上完美工作之后,我在reCAPTCHA的管理控制台上收到了一个警报,上面写着
We have detected that your site has not been validated the reCAPTCHA solution.
Proper use of reCAPTCHA on your site requires validation. For more information,
see Google's developer site.
我知道我目前的实现是不正确的,这个错误意味着我们应该在服务器上实现验证过程。
但是,
在一个付费的google帐户中的Recaptcha中,有超过1,000,000点击的Recaptcha (来自google的免费配额)。
没有选项可以选择在免费的Recaptcha上可用的不可见的v2 Recaptcha,只有复选框选项或Recaptcha企业版本(v3)。
当尝试使用复选框版本
Checkbox ("I'm not a robot") with scoring
站点密钥,并试图在size=中实现它--“不可见”--我在recaptcha徽章上得到了这个文本。
此站点密钥未为不可见的captcha启用。
当使用Recaptcha企业版时,即
S
如果我要问的问题看起来很愚蠢的话,请原谅。我是个php新手,所以我正在努力学习。
我受到一个教程的启发,创建了一个运行良好的php联系人表单。
但我想添加reCaptcha。所以我试着这么做。
if ($_SERVER["REQUEST_METHOD"] === 'POST' && isset($_POST['recaptcha_response']))) {
// Get the form fields and remove whitespace.
$name = strip_tags(trim($_POST[&
我和google reCaptcha v2有个。但是在我的代码中,当person没有选中图标I'm not a robot时,代码会将person发送到一个带有消息Please check the the captcha form的新页面。
我需要当person没有选中图标I'm not a robot时,他/她会留在同一页上,并显示消息:Please check the the captcha form。这是我想要的
我有一张联系人表格(姓名、电话和短信)
<?php
$email;$comment;$captcha;
if(isset($_POST[&
我们已经实现了谷歌企业reCaptcha,这是基于评分的决策。但我们正在寻找企业recaptcha,与图像选择挑战弹出。请让我们知道,这是可能的,或只有分数或基于复选框的captcha可能与企业帐户?代码如下:
https://www.google.com/recaptcha/enterprise.js?render=<site_key>
执行Recaptcha:
public executeEnterpriseCaptcha(){
(window as any).grecaptcha.enterprise.execute(environment.c
如何在Google recaptcha中自定义消息有效性?
如果用户在单击submit按钮之前没有或忘记选中Google Recaptcha复选框。将显示一条弹出消息,用户需要首先选中该复选框。
我有JS,它将验证输入文本框,并且它正在工作。但我不知道如何在Google Recaptcha中实现它
JS:
function InvalidMsg(textbox){
if(textbox.validity.patternMismatch){
textbox.setCustomValidity('Please enter your name here');
我有问题地将Google v2添加到骨干视图中,如下所示:
// this is the callback function
var getRecaptchaResponse = function (response) {
if (response) {
thisView.captchaResponse = response;
thisView.canShowContinue();
} else {
alert("Captcha response was incorrect");
}
};
// rend
使用此reCaptcha演示页面:https://recaptcha-demo.appspot.com/recaptcha-v2-invisible.php 使用puppeteer,我的目标是等待并确定挑战(必须从网格中挑选特定图像)何时在页面上可见。我不是在问如何绕过或解决reCaptcha,只是想知道它什么时候是活动的,什么时候可以解决。 通过DevTools,我找到了代表可视化reCaptcha挑战的超文本标记语言元素:recaptcha element tree 不幸的是,我无法让puppeteer“找到”特定的元素。即使reCaptcha在浏览器中清晰可见,并且#rc-images