Skip to content

Latest commit

 

History

History
71 lines (51 loc) · 2.69 KB

README.mkd

File metadata and controls

71 lines (51 loc) · 2.69 KB

hn-highlighter improves Hacker News by highlighting new or updated posts.

New and updated posts New comments

Installation

The easiest way to install this is by grabbing the extension from the Chrome Web Store.

Opera users can also find it as an extension, thanks to Daniel Davis.

Otherwise, you can grab the user script for extensions like Greasemonkey.

Requirement: User Scripts/Greasemonkey

Google Chrome will support this by default. For other browsers, you will need a user script extension:

Note that I've only tried this on Google Chrome and Firefox. Your mileage may vary. If you find issues, please file an issue.

Supported Browsers

There is user script support (either built in or through an extension) for these browsers:

  • Internet Explorer 8+
  • Firefox 3.5+
  • Safari 4+
  • Opera 10.5+

Notes

  • The number of new comments reported on the post page and those reported when actually viewing the post may differ. This is intentional in the design as one can quickly see when a post is updated between subsequent views of the page while still have an opportunity to see all new comments since last viewing the post itself.
  • When viewing a post for the first time, no comments are highlighted. New comments after the initial view will be marked accordingly.

License

I like the MIT license.

Acknowledgements

By Michael Schade (@sch).

Thanks to...

  • Eric Vold for showing how to use jQuery with Google Chrome.
  • Joshaven Potter for providing an easy array difference function.
  • Daniel Davis for providing an Opera extension incorporating the hn-highlighter user script.