/hn-comments-owl

A Chrome and Firefox extension (and user script) to highlight new Hacker News comments, block users, and other UX tweaks

Primary LanguageJavaScript

HN Comments Owl

A browser extension which draws the rest of the friendly owl for Hacker News comment threads to make them actually followable over time, by automatically highlighting new comments, showing which items have new comments, blocking users, and various other UX tweaks.

Features

  • Show new comment counts since your last visit on item list pages
  • Highlight new comments and collapse comment trees which don't contain any new comments when you revisit an item's comments
  • Manual highlighting of recent comments when new comments can't automatically be highlighted
  • User blocking: block a user via their profile page to hide their comments; manage blocked users on your own profile page

Other Tweaks

  • Add an "upvoted" link to the header to make it easier to get back to previously visited stories, using upvote as a bookmark (default: on)
  • Toggle display of "reply" links below comments to make more room for comments on the screen (default: off)
  • Replaces built-in comment folding controls with a Reddit-style left-aligned control, with a slightly larger hit target for folding

Screenshots

Item list page with new comment counts

Automatic new comment highlighting & collapsing

Mid-thread view of new comment highlighting & collapsing

Manual highlighting of recent comments

User blocking

Block users via their profile page Manage blocked users on your own profile page

Toggling display of reply links

Firefox Chrome

Options

Firefox Chrome

Automatically highlight new comments

Default: enabled

Always highlight new comments and collapse old comments when you visit an item's comments - if disabled, this will only happen if you use the "X New" link on an item page, otherwise you will have to manually use the checkboxes at the top of the screen to highlight new comments

Add upvoted link to header

Default: enabled

Adds an "upvoted" link to the site's top navigation so you can more easily get back to the comment threads on items you've recently upvoted.

Hide reply links under comments

Default: disabled

Hides reply links in comment threads to allow more vertical space for comments.

This option can also be toggled while viewing an item's comments, using the browser's context menu:

Firefox Chrome

Icon Attribution

Surprised owl stroke icon | designed by Vexels