I wrote an extension for a website that is based on the data on the page. I've been testing my function so far by pressing a browser action icon to test. However, I'm trying to make it so the changes on the page trigger it to automatically fire.
How do I listen for content changing on the website in order to fire my function? The content is being changed through javascript on the site.