title: What page events are available to jQuery on which to execute a function?
body: <p>I've been playing around with javaScript and jQuery to make a chrome extension that will help me at work, however I'm running into issues around the timing of the script.</p>
  
  <p>I've been running it like this:</p>
  
  <pre><code>$(document).ready(function() {
    //get stuff, do stuff
  })
  </code></pre>
  
  <p>and banging my head on my desk because it hasn't worked. Then I found the question here about running jQuery from the console, and doing it there, all my selectors returned the right values. Because of this I've concluded there must be some subtlety to the timing.</p>
  
  <p>The page I'm trying to use it on is pretty complex, and <code>$(document).ready()</code> seems to be firing before all of the content is actually loaded.</p>
  
  <p>What are other events that my script could look for to run the code? The actual pages load one after another without any page refreshes, so I think I need to find someway to run my script very frequently and on a new event. </p>
  
  <p>edit: I can't post code because I don't know enough to know what's sensitive and what's not, so I'm erring on the side of not getting fired =P</p>
  
  <p>Also, as for the comment about the page being dynamically rendered, that is absolutely correct -- so I'm trying to figure out some other events to fire on</p>