TehTux / jh_captcha

TYPO3 Extension jh_captcha
https://typo3.org/extensions/repository/view/jh_captcha
GNU General Public License v2.0
5 stars 19 forks source link

Cookie Consent Manager #39

Open bernd-reindl opened 1 year ago

bernd-reindl commented 1 year ago

To include ReCaptcha GDPR compliant, its required to avoid loading the script before the user gives consent.

Therefore it's required to change the script tag included by ReCaptchaViewHelper.

In our case (Consentmanager.net) we need to change the src attribute to cmp-src and add some additional attributes.

For V3 this looks like this:

But this modification get lost, everytime the extension is updated. So it would be nice, if the script tag is created by an template or an TypoScript setting.

E.G.:
$settings['reCaptcha']['v3']['scriptTagTemplate'] => '' changed to: $settings['reCaptcha']['v3']['scriptTagTemplate'] => ''

Best regards Bernd

bernd-reindl commented 1 year ago

@TehTux is ist possible to implement such a function?