title: How to stop page load in html static page
body: <p>Is there in HTML (javascript) or other static html tech
  can:</p>
  
  <ul>
  <li>Stop page loading (if browser does not download yet) </li>
  <li>Stop page rendering (from where the code placed)</li>
  <li>Stop javascript executed (from where the code placed)</li>
  </ul>
  
  <p>Simply put, is there a code like</p>
  
  <pre><code>&lt;script&gt;window.StopWhateverBelow()&lt;/script&gt;
  </code></pre>
  
  <p>To let browser totally ignore whatever below the code.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I understand the browser may already download the whole thing. What I want is, from the code, page should stopped, for example: if I put the code just after <code>&lt;body&gt;</code> visitor should see blank page, if I put the code in middle of the page, page should be just half like you pressed <strong>ESC</strong></p>
  
  <p><strong>ANSWER</strong></p>
  
  <p>As bukko suggested, comments done the trick. But not full, just half
  If you put <code>&lt;!--</code> in html page, the rest will be ignored. And in Javascript</p>
  
  <pre><code>document.write('&lt;!--');
  </code></pre>
  
  <p>Done the trick.</p>
  
  <p><strong>For about make sense:</strong></p>
  
  <p>Here is how this code make sense: when you page load some offpage script, the script is dynamic. When the script code found something wrong (or match some condition), you have one more option to stop the page from rendering, loading, download...</p>