I would love to do something like that, but I don't think Hacker News provides any sort of API for accomplishing this. I'll look into it, though. Thanks!
This won't work where you directly happen to go to a site that was also on HN, but will work for the 80% use-case where you are going to a site from the HN front page itself.
As far as I know, HN doesn't have this capability indeed. However the script could scrape a certain number of the pages (it goes up to seven). You can easily match the linked URL with the current URL. I believe a Chrome plugin can have a list of remote sites it can do XmlHttpRequest on, no?