TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Collapsible comments for Hacker News

86 pointsby niyazpkover 14 years ago

9 comments

StavrosKover 14 years ago
Damn, my comment is collapsed in the screenshot. There go my 15 minutes of fame...
niyazpkover 14 years ago
This fixes a few issues with the script by Alexander Kirk [1], like collapsed child comments expanding when the parent is expanded. In addition to these this script will work in the threads page of hacker news. Also this bookmarklet will load faster than the script by Alexander since there is no call to any external JS file from my server. The only file you have to load is the latest jQuery from the jQuery website and chances are good that the file is already present in your browser cache. (The downside is that you will not be able to get the latest version when I update the code).<p>[1] <a href="http://alexander.kirk.at/2010/02/16/collapsible-threads-for-hacker-news/" rel="nofollow">http://alexander.kirk.at/2010/02/16/collapsible-threads-for-...</a>
评论 #1866542 未加载
roadnottakenover 14 years ago
This is nice. I, for one, would like to see this enabled by default. It's minimally intrusive and has simple, obvious utility.
zephjcover 14 years ago
pg, care to incorporate this in to HN? (maybe as an opt-in option)
评论 #1866561 未加载
评论 #1866511 未加载
评论 #1869072 未加载
评论 #1867635 未加载
grinichover 14 years ago
Is this something people would like added to the HN iPhone app I built? I've considered it and built a demos, but I'm not sure it's needed.<p><a href="http://michaelgrinich.com/hackernews/" rel="nofollow">http://michaelgrinich.com/hackernews/</a>
评论 #1865167 未加载
评论 #1866119 未加载
eofover 14 years ago
Works beautifully, I'll be using this. Thanks
yatsykover 14 years ago
added to "browser extensions" section at <a href="http://hnresources.com/apps/" rel="nofollow">http://hnresources.com/apps/</a>
评论 #1865748 未加载
AgentConundrumover 14 years ago
Thanks for this. Collapsible comments are one of the two biggest things I miss from reddit when on HN (the other being some form of notification that someone has replied to you).
评论 #1865835 未加载
bryanlarsenover 14 years ago
I find that the hckrnews extension: <a href="http://hckrnews.com/about.html" rel="nofollow">http://hckrnews.com/about.html</a> works well for me for doing this.