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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Collapsible comments for Hacker News

78 点作者 niyazpk将近 13 年前

18 条评论

hollerith将近 13 年前
Once someone has added this to their bookmark toolbar and started to use it, they are likely to forget where they got it from. And when they want to know where they got it from, they are likely to look for clues in the source code of the bookmarklet.<p>So, I humbly suggest that you add to the bookmarklet some "googleable" string such as "Author: niyazpk". When I googled on "niyazpk" just now, your Github was the fourth hit.
akirk将近 13 年前
If you like this, check also out mine: <a href="http://alexander.kirk.at/2011/12/06/new-feature-for-hn-collapsible-threads/" rel="nofollow">http://alexander.kirk.at/2011/12/06/new-feature-for-hn-colla...</a> It's been round for a while :)<p>My bookmarklet has also been included in this very nice browser extension: <a href="http://hckrnews.com/about.html" rel="nofollow">http://hckrnews.com/about.html</a>
评论 #4475160 未加载
评论 #4474469 未加载
shawndumas将近 13 年前
I really like this. I also have the Hacker News Enhancement Suite [1] and think it is almost as good as the Reddit one.<p>----<p>[1] <a href="https://chrome.google.com/webstore/detail/bappiabcodbpphnojdiaddhnilfnjmpm" rel="nofollow">https://chrome.google.com/webstore/detail/bappiabcodbpphnojd...</a>
评论 #4475008 未加载
评论 #4474566 未加载
评论 #4474732 未加载
评论 #4477758 未加载
评论 #4477760 未加载
rane将近 13 年前
I'm not going to click a bookmarklet every time I read comments, definitely should be an extension or a user script.<p>Secondly the collapse button would be much better on the left side.
评论 #4475504 未加载
adamzochowski将近 13 年前
One suggestion, can you move the collapsible-minus to be left of username? Like on reddit?
评论 #4474760 未加载
shortlived将近 13 年前
One usability change: put the collapse link on the left side of article title (ala reddit), this makes it quicker to find the widget since it will always be in the same place.
评论 #4474474 未加载
评论 #4474761 未加载
eliaskg将近 13 年前
Very useful! Instead of "optically scanning" all the first level comments I can collapse each comment after reading.
评论 #4474300 未加载
arantius超过 12 年前
Or always available as a user script:<p><a href="https://arantius.com/misc/greasemonkey/hacker-news-comment-collapse.user.js" rel="nofollow">https://arantius.com/misc/greasemonkey/hacker-news-comment-c...</a><p>Also collapses by default threads below depth two.
eli将近 13 年前
I have been using this to provide collapsing comments for some time: <a href="https://github.com/andrewheins/HN-Comment-Hider" rel="nofollow">https://github.com/andrewheins/HN-Comment-Hider</a>
tripzilch超过 12 年前
The last couple of extensions / bookmarklets that did this, did not work in Opera (at the moment that I tried them, at least). But this one does, kudos for that! I'm using it, thanks! :)
kaixi将近 13 年前
My userscript for Greasemonkey users: <a href="http://userscripts.org/scripts/show/138037" rel="nofollow">http://userscripts.org/scripts/show/138037</a>
shanelja将近 13 年前
Fabulous! just started using it now, great job.<p>I love approaches like this, as opposed to just moaning feature X doesn't exist, implement it!
ssn将近 13 年前
Why isn't this implemented on HN natively?
评论 #4475339 未加载
felipebueno将近 13 年前
This is pretty useful, man! Just started using it too.<p>I'm thinking of making a Chrome Extensions from this bookmarklet.
beyti将近 13 年前
Thanks a lot, it's amazing. Should be a chrome extension fast, btw.
snowman41将近 13 年前
This is great! Thank you!
Kilimanjaro将近 13 年前
Implement here ASAP!!!
Havoc将近 13 年前
Thanks.