Skip to content
/ HNCC Public

The Hacker News Collapsible Comments Safari extension. OBSOLETE because Hacker News now has this functionality built-in.

Notifications You must be signed in to change notification settings

fletom/HNCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

HNCC

I love reading Hacker News comments, but they're kind of a pain to follow once you get a few levels deep in a given thread. This is worsened by the (unusually large) average comment length on HN, which makes even a single comment take up most of your screen.

So I took a few minutes to write this simple Safari extension that lets you collapse and expand comments à la reddit. Enjoy!

Download: https://github.com/fletom/HNCC/raw/master/HNCC.safariextz


Side note: The Hacker News source HTML looks like it was designed specifically to infuriate hackers. Everything is levels upon levels of nested <table>s. Child comments are actually sibling elements with a progressively larger <img> spacer before them. A comment body is a <font> element, but a reply link is a <p>. Abandon all hope of sane markup, ye who enter here.

About

The Hacker News Collapsible Comments Safari extension. OBSOLETE because Hacker News now has this functionality built-in.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published