Hacker News new | past | comments | ask | show | jobs | submit login

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!



Possibly better way to do it is to make a content script (or a greasemonkey script - same thing?) that rewrites links in HN's page such that when you open them in a new tab, you can keep track of the corresponding comments link, and then provide a Page Action that shows up in the location bar, clicking on which, will open up the comments page for the link.

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.


This is not the best place to talk about that but:

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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: