title: Chrome extension read innerHTML of the current page?
body: <p>Hi this may be a silly question, but I can't find the answer anywhere.
  I'm writing a chrome extension, all I need is to read in the html of the current page so I can extract some data from it.</p>
  
  <p>here's what I have so far:</p>
  
  <pre><code>&lt;script&gt;
      window.addEventListener("load", windowLoaded, false);
      function windowLoaded() {
          alert(document.innerHTML)
        });
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Can anybody tell me what I'm doing wrong?
  thanks,</p>