TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Collapsible comments for Hacker News

86 点作者 niyazpk超过 14 年前

9 条评论

StavrosK超过 14 年前
Damn, my comment is collapsed in the screenshot. There go my 15 minutes of fame...
niyazpk超过 14 年前
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 未加载
roadnottaken超过 14 年前
This is nice. I, for one, would like to see this enabled by default. It's minimally intrusive and has simple, obvious utility.
zephjc超过 14 年前
pg, care to incorporate this in to HN? (maybe as an opt-in option)
评论 #1866561 未加载
评论 #1866511 未加载
评论 #1869072 未加载
评论 #1867635 未加载
grinich超过 14 年前
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 未加载
eof超过 14 年前
Works beautifully, I'll be using this. Thanks
yatsyk超过 14 年前
added to "browser extensions" section at <a href="http://hnresources.com/apps/" rel="nofollow">http://hnresources.com/apps/</a>
评论 #1865748 未加载
AgentConundrum超过 14 年前
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 未加载
bryanlarsen超过 14 年前
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.