title: Firefox add-ons and page HTML content change events (Google Reader)
body: <p>I am new to Firefox add-on development and planning to write a Firefox Mobile add-on which would optimize some page content to be more suitable for viewing on mobile devices. </p>
  
  <p>I have studied how to create an add-on which intercepts page load events...</p>
  
  <p><a href="https://developer.mozilla.org/en/XUL_School/Intercepting_Page_Loads" rel="nofollow">https://developer.mozilla.org/en/XUL_School/Intercepting_Page_Loads</a></p>
  
  <p>... and this is quite straightforward for this far.</p>
  
  <p>However, I'd also like to interact with HTML content which is loaded / displayed outside the normal HTML load chain. This would be namely Google Reader content which Google Reader fetches using AJAX.</p>
  
  <p>Does Firefox provide any hooks to post-process content injected to pages via innerHTML and such? Also, as an alternative I have been thinking about capturing click/touch events and rerun the processing after each event: when you click an article in Google Reader it will open a new view containing the article content.</p>
  
  <p>How other add-ons generally do this?</p>