I have a JavaScript Greasemonkey script that executes on an Amazon's results page. However, because the "Next Page" button dynamically updates the results, the script only executes the first time the page is loaded, and not anymore after the "Next Page" button is clicked.
For example, if I go to an Amazon page like this one and my script runs to do something with the results, then when I click "Next Page" at the bottom of the page, the script does not run anymore because the results are updated dynamically.
How can I make my script apply to the new set of results, whenever a new set is loaded when the user clicks the "Previous Page" or "Next Page" links?