Hacker News Safari extension for collapsing comment trees.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
hackernews-collapse.safariextension
README.md
hackernews-collapse.safariextz
hackernews-collapse.user.js
screenshot.png

README.md

Hacker News Collapse

Deprecated: This project is deprecated. Finally, Hacker News has added this feature natively to its site.


Screenshot

Browser extension for collapsing Hacker News comment trees. Adds a collapse button to comments.

Install

To install the Safari extension, open the hackernews-collapse.safariextz extension file. To install the userscript, open hackernews-collapse.user.js in Tampermonkey (not tested with Greasemonkey).

Existing tabs need to be reloaded before using the extension.

Code

Based on a bookmarklet by Alexander Kirk. Changes to the original script:

  • Show collapse symbol on the left
  • Align collapse buttons vertically
  • Option to hide number of child comments when collapsing
  • Fix for various layout problems where comments change their position on collapsing
  • Other bug fixes

License

MIT, see hackernews-collapse.safariextension/LICENSE.