/home/techb158/immovalet.com/vendor/google/recaptcha/examples
NameSizeModeActions
appengine-https.php20710644editdlrm
config.php.dist18480644editdlrm
examples.css4030644editdlrm
google0afd8760fd68f119.html530644editdlrm
index.php38020644editdlrm
recaptcha-content-security-policy.php85750644editdlrm
recaptcha-v2-checkbox-explicit.php79560644editdlrm
recaptcha-v2-checkbox.php75190644editdlrm
recaptcha-v2-invisible.php72680644editdlrm
recaptcha-v3-request-scores.php68130644editdlrm
recaptcha-v3-verify.php28820644editdlrm
robots.txt240644editdlrm
Edit: /home/techb158/immovalet.com/vendor/google/recaptcha/examples/recaptcha-content-security-policy.php (8575B)
reCAPTCHA demo - Content Security Policy

reCAPTCHA demo

Content Security Policy

↩️ Home

Add your keys

If you do not have keys already then visit https://www.google.com/recaptcha/admin to generate them. Edit this file and set the respective keys in $siteKey and $secret. Reload the page after this.

This example is sending the Content-Security-Policy header. Look at the source and inspect the network tab for this request to see what's happening. The reCAPTCHA v3 API is being called here, however you can use the same approach for the v2 API calls as well.

NOTE:This is a sample implementation, the score returned here is not a reflection on your Google account or type of traffic. In production, refer to the distribution of scores shown in your admin interface and adjust your own threshold accordingly. Do not raise issues regarding the score you see here.

  1. reCAPTCHA script loading

⤴️ Try again