title: How to load the body of a page explicitly with javascript?
body: <p>So, one can use:</p>
  
  <pre><code>&lt;body onload="myFunction()"&gt;
  </code></pre>
  
  <p>To run a function after the page has loaded, but I want the opposite to happen.</p>
  
  <p>Something like:</p>
  
  <pre><code>&lt;html&gt;
      &lt;script&gt; 
          function loadBodyNow(){
              ....
          }
          loadBodyNow() 
      &lt;/script&gt;
  
      &lt;body&gt;
          Hello world!
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>