How to put the iframe/div using javascript next/before the <script> block, just like google ads. So I am putting a script tag in an html and I want an iframe to appear at the same location in the rendered HTML.
<script>
// do something to add an iframe/div so that it appears on page
// as if it were added in place of script
<script>