title: Plain JavaScript on-page-load event not working
body: <p>The question is pretty simple: why is nither of those are working when they should? Tried in latest chrome and FF</p>
  
  <pre><code>document.addEventListener("DOMContentLoaded", function() {
    alert("window on domcontentready");
  }, false);
  
  window.onload = function() {
    alert("window on load");
  }
  </code></pre>
  
  <p><a href="http://jsfiddle.net/FHHgA/4/" rel="nofollow">http://jsfiddle.net/FHHgA/4/</a></p>