asp.netdotnetnukerecaptchadotnetnuke-9

How to remove existing DNN ReCaptcha script reference


DNN V09.02.00 (366) adds the following script reference to every page.

<script type="text/javascript" async="" src="https://www.gstatic.com/recaptcha/api2/v1541614764654/recaptcha__en.js"></script>

We are trying to use our own Google V2 Invisible ReCaptcha, and we have added the reference to our own script file (synchronously). Unfortunately, due to the "async" attribute in DNN's reference to recaptcha, it loads after our own reference, overwriting its global grecaptcha reference.

How can we remove this script reference from DNN that we are not using?


Solution

  • Most likely that is being loaded by a third-party extension/module or the theme/skin. DNN is currently not using ReCaptcha at all.