loadRecaptchaScript

Adds the Google reCAPTCHA JavaScript to the HTML HEAD if reCAPTCHA is enabled and a site key is configured.

This is an extension function on kotlinx.html HEAD.

Parameters

config

the RecaptchaConfig providing the site key and enabled status.