选择 reCAPTCHA 的类型
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
选择 reCAPTCHA 类型 在创建新网站时,有四种 reCAPTCHA 类型可供选择。

reCAPTCHA v3
借助 reCAPTCHA v3,您可以在没有任何用户互动的情况下验证互动是否合法。它只是一个会返回得分的纯 JavaScript API,让您能够根据网站的情况采取相应措施:例如,要求进行额外的身份验证、将帖子送交审核,或对可能抄袭内容的漫游器施加限制。
reCAPTCHA v2(“我不是机器人”复选框)
“我不是机器人”复选框需要用户选中表明用户不是机器人的复选框。这会立即让用户通过身份验证(无需人机识别系统),或者要求他们验证自己是否是真人。这是最简单的集成选项,只需两行 HTML 即可呈现该复选框。

reCAPTCHA v2(隐形 reCAPTCHA 徽章)
隐形 reCAPTCHA 徽章不需要用户点击复选框,而是在用户点击您网站上的现有按钮时直接调用,也可以通过 JavaScript API 调用进行调用。reCAPTCHA 验证完成后,集成需要 JavaScript 回调。默认情况下,系统只会提示最可疑的流量进行人机识别系统验证。要更改此行为,请在“高级设置”下修改您的网站安全偏好设置。

reCAPTCHA 第 2 版 (Android)
reCAPTCHA Android 库是 Google Play 服务 SafetyNet API 的一部分。此库提供原生 Android API,您可以直接将其集成到应用中。您应在应用中设置 Google Play 服务并连接到 GoogleApiClient
,然后再调用 reCAPTCHA API。这将立即让用户通过(无需人机识别系统提示),或要求他们验证自己是否是真人。
reCAPTCHA v1 - 关停
reCAPTCHA v1 已于 2018 年 3 月关停。请使用以上选项。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThere are four types of reCAPTCHA available: reCAPTCHA v3, reCAPTCHA v2 ("I'm not a robot" Checkbox), reCAPTCHA v2 (Invisible reCAPTCHA badge), and reCAPTCHA v2 (Android).\u003c/p\u003e\n"],["\u003cp\u003ereCAPTCHA v3 verifies interactions without user input, returning a score for site-specific actions like authentication or bot throttling.\u003c/p\u003e\n"],["\u003cp\u003ereCAPTCHA v2 options offer checkbox and invisible badge variations, prompting users with challenges based on suspicion levels and allowing integration through HTML or JavaScript.\u003c/p\u003e\n"],["\u003cp\u003eThe reCAPTCHA Android library, part of Google Play services SafetyNet APIs, provides native integration for Android apps, requiring setup and connection to Google Play services.\u003c/p\u003e\n"]]],["There are four reCAPTCHA types: v3, which verifies interactions without user input via a JavaScript API; v2 \"I'm not a robot\" Checkbox, requiring a user click, potentially followed by a challenge; v2 Invisible badge, triggered by a button click or JavaScript, prompting a captcha only for suspicious traffic; and v2 Android, using Android APIs. reCAPTCHA v1 is discontinued. v2 versions require a potential challenge, v3 doesn't require any user interaction.\n"],null,["# Choosing the type of reCAPTCHA There are four types of reCAPTCHA to choose from when creating a new site.\n\nreCAPTCHA v3\n------------\n\nreCAPTCHA v3 allows you to verify if an interaction is legitimate without any user interaction. It is a pure JavaScript API returning a score, giving you the ability to take action in the context of your site: for instance requiring additional factors of authentication, sending a post to moderation, or throttling bots that may be scraping content.\n\nreCAPTCHA v2 (\"I'm not a robot\" Checkbox)\n-----------------------------------------\n\nThe \"I'm not a robot\" Checkbox requires the user to click a checkbox indicating the user is not a robot. This will either pass the user immediately (with No CAPTCHA) or challenge them to validate whether or not they are human. This is the simplest option to integrate with and only requires two lines of HTML to render the checkbox.\n\nreCAPTCHA v2 (Invisible reCAPTCHA badge)\n----------------------------------------\n\nThe invisible reCAPTCHA badge does not require the user to click on a checkbox, instead it is invoked directly when the user clicks on an existing button on your site or can be invoked via a JavaScript API call. The integration requires a JavaScript callback when reCAPTCHA verification is complete. By default only the most suspicious traffic will be prompted to solve a captcha. To alter this behavior edit your site security preference under advanced settings.\n\nreCAPTCHA v2 (Android)\n----------------------\n\nThe reCAPTCHA Android library is part of the [Google Play services SafetyNet APIs](https://developer.android.com/training/safetynet/index.html). This library provides native Android APIs that you can integrate directly into an app. You should set up [Google Play services](https://developers.google.com/android/guides/api-client) in your app and connect to the `GoogleApiClient` before invoking the reCAPTCHA API. This will either pass the user through immediately (without a CAPTCHA prompt) or challenge them to validate whether they are human.\n\nreCAPTCHA v1 - Shut down\n------------------------\n\nreCAPTCHA v1 has been shut down since March 2018. Please use an option above."]]