Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The google recapcha allows for a javascript callback to be run on recaptcha completion, by passing the name of a javascript function in an tag attribute name `data-callback`. However, the recaptcha module contains no configuration option for this.
Comment | File | Size | Author |
---|---|---|---|
#2 | data-callback.patch | 2.11 KB | slefevre1 |
Comments
Comment #2
slefevre1 CreditAttribution: slefevre1 commentedThis patch creates an admin text box to specify a javascript callback.
Comment #3
hass CreditAttribution: hass commentedThat patch looks like a serious security problem.
Comment #4
ianwensink CreditAttribution: ianwensink commentedHi hass,
I am coming across the issue where the page scrolls down after verification on iOS10. This issue can be 'resolved' by adding a javascript callback, where you scroll back up.
The patch #2 provided by the reporter seems perfect, and not like a security risk. Can you please tell me where I'm wrong there?
Besides, the issue is not really a duplicate, since that other issue is for Drupal8.
Thanks,
Ian Wensink