Script implementation: please use Joomla4 WebAssetManager

we we78da 05 Oct, 2022
Hi,
​
I'm using Chronoforms v7 on Joomla 4 platform. To make my website gdpr proof I crawl through all assets and disable them until cookies were accepted.
​
The main problem is Chronoform does not use joomla's asset manager to create script tags, so eg. Google reCaptcha loads external scripts before accepting privacy policy, which can cause a fine. In the G3 plugin libs/document/buildMediaOutput() method all script tags were built by custom html tag. Is it possible to modify this method to create scripts using WebAssetManager->registerAndUseScript() method?
​
Thanks for your reply...
​
Daniel
This topic is locked and no more replies can be posted.