Closed netfeld closed 4 years ago
He @netfeld
you have to change the type to type="text/plain"
page.headerData.45678 = TEXT
page.headerData.45678.value(
<script data-ignore="1" data-cookieconsent="statistics" type="text/plain">
alert("STATISTIC ACCEPTED");
</script>
)
after that it works ;)
Great! I missed that. Thanks, Hauke
Try to get this to run with an simple example:
Result: The Script is fired all the time. Regardless of whether statistic checkbox is true or not.