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
prtmnth#
Haha, this is so cool and can't believe I didn't think about it. I've been opening 2 tabs per HN link on my phone since forever!
pseudosavant#
This is pretty cool! It had never crossed my mind that everyone else is doing the same two tab thing that I'm doing.
jason1cho#
I'm a fan of user script, glad to see people are also developing new ones.

The uploads to greasy fork seem reduced these days.

hugopuybareau1 reply#
Nice idea ! How do you handle duplicates ?
twalichiewicz1 reply#
[Assuming you mean duplicate HN submissions]

I normalize the URL and use HN's Algolia search API to find an existing story with a matching URL. I don't currently handle multiple HN submissions of the same article; I just use the matching story I find.
That being said, I could see creating a historical snapshot of all the times an article has been submitted and building a blended comments section in the future.

Barbing1 reply#
Blended comments section sounds great! Good work.

Load more comments