Closed gitVasile closed 10 months ago
@gitVasile, you can use the .updateScripts()
method to let the plugin know of the newly added script tags.
Hey @orestbida ok, but why about iframe newly added for example? Is updateScripts() parsing all the elements?
Thank you
Unfortunately no, the plugin only handles scripts.
Ok, no problem. Thank you for your time and project 👍 .
@gitVasile I forgot to mention as I was in a hurry, but there's a dedicated plugin to handle iframes, called iframemanager, although it too does not handle dynamically injected iframes.
Hey @orestbida Thank you for your help. Should be fine.
Have a nice day
Description
If I add the piece of code below in my DOM dynamically, the cookieconsent will never be able to parse this new code because it was added after the loaded.
Proposed solution
We should maybe add a way to parse the code again using a mehtod from you api.
Additional details
Thank you