Lurker News
HN is great for the links people share, but a big part of the value I get comes from reading the discussion around them. I realized I was always opening the article in one tab and the comments in another, constantly switching back and forth.

I figured there was probably a simpler way, so I threw together this userscript to merge the two.
1. Clicking a link from Hacker News opens the article with a side panel containing the discussion. It doesn't require your credentials, is resizable, and is easy to tweak if you want to customize it.
2. If you land on an article that has previously been shared on HN, the script finds the existing discussion and adds a button in the top-right to open the panel.
Feedback welcome.

Comments (126) 63 threads

Earlier comments
8ig81 reply#
I just open the HN post and then open the article. That way I can simply go back to the comments after reading the article, whenever that may be.
s4i#
This. I gather interesting posts this way in my browser tabs in the phone and everytime I finish reading something I click "Back" and there's usually a discussion there, unless I opened the link originally from somewhere else than HN.
joshdavham1 reply#
I think the amount of upvotes you’re getting here suggests that it might be worth building a proper browser extension for this!

Would you be interested in making one?

twalichiewicz2 replies#
Open to it. For now I’m going to keep it as a userscript and build out some of the interesting ideas people have suggested here. If it keeps growing, a proper extension would definitely make sense.
joshdavham#
Makes sense. You can also iterate faster without the hassle of getting your extension approved on the chrome store, etc.
djfdat1 reply#
This is great and is also something that I've always had an issue with.

What I do now is open the HN comments, and then when I'm ready to look at the link + comments, right-click on the title and Open in Split View.

abudooboo1 reply#
Have you considered modifying it to trigger on every HNews click as well as with as manually triggered? As it is now it leaks browser URLs + query string + fragments to hn.algolia.com since it queries it on every single page you visit. At the very least it might be good to sanitize the queries by restricting to origin + path?

Load more comments