Thank you for helping me! This can be deleted.
What you want to do is use Chrome’s “inspect” capability to dig into the details of the two different web pages.
In your ‘working’ script, the following is looking for a section in the web page called “eggs”:
var container = document.getElementsByClassName('eggs');
but if you look at the “abandoned” web page, you can see there is no “eggs” section. I believe you want to use “ap” instead - alas I’m not enough of an HTML / scripting expert to be certain …