title: Rerun Firefox addon's script on URL dynamic change
body: <p>To simplify the scenario, lets say I'm working on an extension that just contains: <code>alert(&quot;Hello&quot;)</code> whenever you load a page in example.com. Relevant manifest.json part:</p>
  <pre><code>&quot;content_scripts&quot;: 
          [
              {
              &quot;matches&quot;: [&quot;*://*.example.com/*&quot;],
              &quot;js&quot;: [&quot;script.js&quot;]
              }
          ]
  </code></pre>
  <p>When I first visit the website, it works fine. But the problem is some of the links in the website don't reload the page, they just manipulate the DOM. So a link for example will take you to example.com/foo, the script doesn't run. Even when I return to the home page, it doesn't run again, and all the edits that were made the first time are removed.</p>
  <p>How do I make the add-on recognize that the page has changed, and rerun the script?</p>