HN commands
Use Chrome omnibox to run grep, limit, depth, and user commands on HN comments.
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
- Suggest a new command
- Report a problem
- Pull requests are welcome!
License
This extension is released under the MIT License.
