title: detect div change in javascript
body: <p>I'm working on a small chrome extension for fun, and one thing I need it to be able to do, is to detect when the text inside a div is changed by the webpage itself.The code I'm using is:</p>
  
  <pre><code>var status = document.getElementById("status").innerHTML;
  status.onchange = function() {
      console.log("CHANGE DETECTED")
  </code></pre>
  
  <p>And this doesn't seem to work, so what should I use instead?</p>
  
  <p>NOTE: I'd prefer not to use jquery, as I am not even very proficient with javascript at the moment, but if it would be that much simpler/easier, that would be fine.</p>