在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
使用React ^16.13.1和NEXT^9.4.4
正在尝试让在我的应用程序中工作。
它似乎挂在pages/index.js的const result = await executeRecaptcha("homepage")上。
console.log(process.env.GOOGLE_RECAPTCHA_SITE_KEY)返回正确的密钥。
在pages/_app.js中硬编码密钥会在浏览器中抛出一些错误:
A cookie associated with a resource at http://google.com/ was set with `SameSite=N
在我的电子应用程序中,我尝试打开一个受谷歌reCAPATCHA保护的外部网站(例如BrowserWindow.lodUrl('www.abc.xyz'))。包含该页面的浏览器窗口已打开,因此用户可以解决验证码问题,并且它的行为不像机器人。
但不知何故,对reCAPTCHA验证请求的唯一响应是
)]}'
["rresp",null,null,null,null,null,1]
也不会出现用于选择“街道标志”或“十字标志”的reCAPTHCA弹出窗口。
此外,我在控制台中收到一个警告
A cookie associated with a cross-site
我是运行wamp的本地机器上的google recaptcha v2。一切看起来都很好,除了在应该验证表单的时候它总是死掉
我得到了这个错误:
Fatal error: Class 'ReCaptcha\RequestMethod\Post' not found in C:\wamp\www\php\contactForm\Captcha\ReCaptcha.php on line 73
我几乎复制/粘贴了google的示例代码:
if (!empty($human)) {
require_once('Captcha\ReCaptcha.php');
我刚从google chrome的默认搜索页面进入控制台,这个恼人的警告弹出了几次-
A cookie associated with a resource at http://google.com/ was set with
`SameSite=None` but without `Secure`. A future release of Chrome will only
deliver cookies marked `SameSite=None` if they are also marked `Secure`. You
can review cookies in developer
当我尝试在selenium中获取reCaptcha v2图像时,我得到了no such this element,因为元素不在主页中
那么,我怎样才能在selenium C#中得到这张照片呢!
_driver.Navigate().GoToUrl("https://www.google.com/recaptcha/api2/demo");
_driver.SwitchTo().Frame(0);
_driver.FindElement(By.Id("recaptcha-anchor")).Click();
我在Github页面上使用Google Analytics Global Site Tag (gtag.js)跟踪代码。下面的跟踪代码被复制并粘贴到我想跟踪的每个网页的<HEAD>中(我用GA_MEASUREMENT_ID替换了我自己的跟踪ID ):
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=GA_MEASUREMENT_ID"></script&
我有问题地将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 V3在ASP.NET中的完整实现演示吗?
我找到了这篇文章:
目前,我使用的是reCaptcha V2和以下代码:
public bool RecaptchaValidate()
{
string Response = Request.Form["g-recaptcha-response"];//Getting Response String Append to Post Method
bool Valid = false;
//Request to Google Server
v
我的cookie中没有一个具有SameSite属性集。我刚刚注意到火狐DevTools控制台为我的网站显示了以下警告:
Cookie “PHPSESSID” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTT
我正在尝试在我的django应用程序中使用Google ReCaptcha V2。在本地测试时,它可以正常工作。我现在正在一个AWS EC2实例上部署/托管和使用我的django应用程序,现在我在验证码框中得到了以下错误。
ERROR for site owner: Invalid domain for site key
我已经将ec2的公共DNS (ec2-x-x-x-x.compute-1.amazonaws.com)添加到谷歌管理控制台的域名列表中,但这并没有解决这个问题。我还以x.x.x.x的形式添加了eIP。这是将EC2“域名”添加到谷歌的Recaptcha的正确方式吗?
可以在上使用reCAPTCHA吗?我在reCAPTCHA站点上设置为域,将站点密钥放在标签中,实际上我使用的是react-recaptcha包,但现在不起作用,我收到消息: ERROR for site owner: Invalid site key。我使用的是reCAPTCHA类型:V2复选框。有谁知道吗?