News for hackers. Stuff that matters.
Re:Hacker News Chrome Extension by Timothee on Saturday March 06, 2010 @03:09AM (#1171294)
One thing I could see useful is to get to comments for your current tab. Let's say you're reading something and you would like to see if there's any discussion around that on HN and if so, get to it. If not, get the option of submitting it.

I also remember that there was a bookmarklet that was adding links for each story to open a split window with the article on the left and the comments on the right. I liked it, though I lost it and never really looked for it.

Re:Hacker News Chrome Extension by tdupree on Saturday March 06, 2010 @09:52PM (#1172776)
This isn't quite splitview, but you might find my Hacker News OnePage extension for chrome useful.

https://chrome.google.com/extensions/detail/plldnnbdlbgbiknj...

Re:Hacker News Chrome Extension by ananthrk on Saturday March 06, 2010 @08:14AM (#1171487)
Regarding the split view, did you mean http://nirmalpatel.com/hacks/splitview.html ?
Re:Hacker News Chrome Extension by nirmal on Saturday March 06, 2010 @08:22AM (#1171497)
Unfortunately, the page that frames the article and comments side-by-side is throwing a 403 and I don't know why. Still debugging...

The page works when I launch it locally but not when it is on my host. I put in a support request.

[EDIT : 9:05AM] Fixed. You will need to reinstall the user script at http://nirmalpatel.com/splitview/splitview.user.js It works in Safari, Chrome and FF on my Mac. Time for my mid-morning nap.

Re:Hacker News Chrome Extension by megamark16 on Saturday March 06, 2010 @09:16AM (#1171553)
I think what he's asking for (if I understand correctly) is a way for the plugin to check the page I'm currently on, say it's a mixergy blog post or something, and determine if that blog post has already been submitted to HN and if there are any comments about it. That would be sweet, that way I'd know right away without having to google search (site:news.ycombinator.com) for the url, and if there' already a thread I can join in the discussion quickly.
Re:Hacker News Chrome Extension by pavs on Saturday March 06, 2010 @11:50AM (#1171736)
To be more specific. Something like this; http://www.reddit.com/tb/b9yyc
Re:Hacker News Chrome Extension by Timothee on Saturday March 06, 2010 @12:44PM (#1171829)
In the second part I was talking about the split view. In the first part I was talking about what you're describing.
Re:Hacker News Chrome Extension by adam_albrecht on Saturday March 06, 2010 @11:16AM (#1171685)
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!
Re:Hacker News Chrome Extension by statictype on Saturday March 06, 2010 @01:01PM (#1171851)
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.

Re:Hacker News Chrome Extension by Timothee on Saturday March 06, 2010 @12:52PM (#1171837)
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?