Skip to content
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 1.03 KB

README.md

File metadata and controls

29 lines (17 loc) · 1.03 KB

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.