index.html
<script id="script"> // .text || .innerText || .innerHTML alert(document.getElementById("script").text); </script>