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

78 pointsby niyazpkover 12 years ago

18 comments

hollerithover 12 years ago
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.
akirkover 12 years ago
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 未加载
shawndumasover 12 years ago
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 未加载
raneover 12 years ago
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 未加载
adamzochowskiover 12 years ago
One suggestion, can you move the collapsible-minus to be left of username? Like on reddit?
评论 #4474760 未加载
shortlivedover 12 years ago
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 未加载
eliaskgover 12 years ago
Very useful! Instead of "optically scanning" all the first level comments I can collapse each comment after reading.
评论 #4474300 未加载
arantiusover 12 years ago
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.
eliover 12 years ago
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>
tripzilchover 12 years ago
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! :)
kaixiover 12 years ago
My userscript for Greasemonkey users: <a href="http://userscripts.org/scripts/show/138037" rel="nofollow">http://userscripts.org/scripts/show/138037</a>
shaneljaover 12 years ago
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!
ssnover 12 years ago
Why isn't this implemented on HN natively?
评论 #4475339 未加载
felipebuenoover 12 years ago
This is pretty useful, man! Just started using it too.<p>I'm thinking of making a Chrome Extensions from this bookmarklet.
beytiover 12 years ago
Thanks a lot, it's amazing. Should be a chrome extension fast, btw.
snowman41over 12 years ago
This is great! Thank you!
Kilimanjaroover 12 years ago
Implement here ASAP!!!
Havocover 12 years ago
Thanks.