2017 © Pedro Peláez
 

drupal-module invisible_recaptcha

Provides invisible recaptcha implementation.

image

drupal-generics/invisible_recaptcha

Provides invisible recaptcha implementation.

  • Monday, January 29, 2018
  • by danielpopdan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 736 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 4 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

invisible_recaptcha

The Invisible reCAPTCHA is a service that protects your site against spam, without using a challenge or a checkbox. The Invisible reCAPTCHA module adds the challenge div in the form and binds the submit button to the invisible_recaptcha library. On form submit, in javascript, the execute function is called on the "grecaptcha" object and a new field (g-reptcha-response) will be populated with the response from the reCAPTCHA API. Next, based on the value of the success attribute from the response, the submit process will continue, or an error will be set on the form, preventing it from being submitted., (*1)

Invisible recaptcha configurations

  1. In order to start using invisible reCAPTCHA you need to sign up for an API key pair for your site. Go to https://www.google.com/recaptcha/intro/index.html and click on the Get reCAPTCHA button. If you already have an Invisible reCAPTCHA key pair for your site go to step 2, else go in the Register a new site section and select the Invisible reCAPTCHA radio button. After registering the domain for your site you will get 2 keys, the site key and the secret key.
  2. Go in the Configuration menu in Drupal and select Invisible reCAPTCHA configurations from the INVISIBLE RECAPTCHA tab. Here you must set the site key and the secret key and save the configurations.

Add invisible recaptcha on a form

  1. Go in the Configuration menu in Drupal and click Invisible reCAPTCHA checks from the INVISIBLE RECAPTCHA tab.
  2. Add the id of the form and click Save. If you want to delete a form id, clear the textfield and click Save.

Development steps to transpile ES6 javascript.

npm install --save-dev babel-cli babel-core \ babel-preset-env babel-plugin-add-header-comment npm run build:js, (*2)

The Versions

29/01 2018

dev-master

9999999-dev

Provides invisible recaptcha implementation.

  Sources   Download

GPL-2.0-or-later

29/01 2018

8.1.0-alpha2

8.1.0.0-alpha2

Provides invisible recaptcha implementation.

  Sources   Download

GPL-2.0-or-later

29/01 2018

8.1.0-alpha1

8.1.0.0-alpha1

Provides invisible recaptcha implementation.

  Sources   Download

GPL-2.0+