reCAPTCHA: ヒントとガイドライン
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
重要: reCAPTCHA API のバージョン 1.0 のサポートは終了しました。バージョン 2.0 にアップグレードしてください。詳細
ユーザーの過失
フォームの入力時に入力ミスをしてしまうと、ユーザーにとって非常にストレスがたまります。ユーザーが
キャプチャが間違っている(またはフォーム内の他の項目が入力されていない)場合は、次のような対策を講じることを強くおすすめします。
-
ユーザーが事前入力されたフォームデータを使用して問題のフォームを再表示する。
すべて再入力してください。
-
error=
パラメータを http://www.google.com/recaptcha/api/challenge に追加して、エラータイプ
表示されます。
HTTPS サイトの場合の reCAPTCHA
reCAPTCHA の使用時にブラウザの警告が表示されないようにするには
SSL 対応サイトで使用する場合、URL を http://www.google.com/recaptcha/api に
チャレンジをリクエストします。reCAPTCHA に対するリクエストは次のようになります。
<script type="text/javascript"
src="https://www.google.com/recaptcha/api/challenge?k=your_public_key">
</script>
<noscript>
<iframe src="https://www.google.com/recaptcha/api/noscript?k=your_public_key"
height="300" width="500" frameborder="0"></iframe><br>
<textarea name="recaptcha_challenge_field" rows="3" cols="40">
</textarea>
<input type="hidden" name="recaptcha_response_field"
value="manual_challenge">
</noscript>
reCAPTCHA フィールドが空です
「recaptcha_challenge_field」の値がまたは「recaptcha_response_field」
を未設定のままにした場合は、www.google.com/recaptcha/api/verify にリクエストを送信しないようにしてください。これにより、
単純なスパム行為にすばやく対処できるようになります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["reCAPTCHA API version 1.0 is no longer supported; users should upgrade to version 2.0."],["When users make mistakes in forms, pre-fill their previous entries and use the `error=` parameter in the reCAPTCHA API challenge URL to display the error type."],["When implementing reCAPTCHA on HTTPS sites, ensure to use the `https://` protocol in the reCAPTCHA API URL to prevent browser warnings."],["To handle spam attempts efficiently, avoid sending verification requests to the reCAPTCHA API if the challenge or response fields are empty."]]],["Upgrade from reCAPTCHA API version 1.0 to 2.0. When form errors occur, pre-fill the form with user-entered data and add the `error=` parameter to the reCAPTCHA challenge URL. For SSL sites, use `https://www.google.com/recaptcha/api` instead of `http://` for challenge requests. If `recaptcha_challenge_field` or `recaptcha_response_field` is unset, skip the verification request to quickly handle spam.\n"]]