GitHub - siadat/chrome-hn: Omnibox commands for HN comments

1 min read Original article ↗

HN commands

Use Chrome omnibox to run grep, limit, depth, and user commands on HN comments.

Screenshot

Usage

Type these in the Chrome omnibox (addressbar):

hn grep [-v] [REGEX]
hn user [-v] [USERNAME]
hn depth [NUMBER]
hn limit [NUMBER]
hn reset
hn open
hn focus

Example

Display only 1 reply of each comment

Display root comments only

Display comments that have "react" and "ios"

Hide messages containing react

Display comments by pg

Reset filters

Similar tools

Use this console script for filtering comments, if you don't have Chrome.

If you like this extension, you might also like these omnibox extensions for Chrome:

  • chrome-ff: Fuzzy finder for tabs and windows
  • chrome-godoc: Go docs finder for packages, func, and types

Contributing

License

This extension is released under the MIT License.