title: How do you use onPageLoad in Javascript?
body: <p>I tried using </p>
  
  <pre><code>onPageLoad: function() {
      alert("hi");
  }
  </code></pre>
  
  <p>but it won't work. I need it for a Firefox extension.</p>
  
  <p>Any suggestions please?</p>