Is it possible to block an entire <script> block like this?
If I add a block like this:
<script type="javascript/blocked"> (function(){ alert("loaded"); })() </script>
it isn't executed. But when I call .unblock() this whole block disappears.
We're working with a CMS where we don't know what scripts the author will add to a page.
Is it possible to block an entire <script> block like this?
If I add a block like this:
<script type="javascript/blocked"> (function(){ alert("loaded"); })() </script>it isn't executed. But when I call
.unblock()this whole block disappears.We're working with a CMS where we don't know what scripts the author will add to a page.