Show HN: Hacked Hacker News - new comment highlighting and keyboard navigation
github.com
github.com
1/ New article, never read:
22 comments
I know that they are all unread, don't need to tell me.2/ Visited article
25 comments (3 unread)
This is nicer IMHO than having another | separator.
The 3 unread could be bold as it is now.3/ Visited and all read:
25 comments (0 unread)
But this time 0 unread does not need to be bold.I know, this should be a pull request...
Edit: BTW, I just saw '(-1 unread)' which I'm guessing has something to do with showdead being on.
[1] http://alexander.kirk.at/2010/02/16/collapsible-threads-for-...
But I prefer the simple orange line highlight that the hckrnews.com extension and (shameless plug) the Hacker News Enhancement Suite [0] use. Your variable width grey highlight becomes looks very chaotic.
[0] https://chrome.google.com/webstore/detail/hacker-news-enhanc...
Bonus if you adapt the script to reddit -- the same problem of not knowing which comments are new exists (except for top level comments which can be seen if you sort by new).
The default background color for new comments seems too dark for me--the contrast is low enough that new comments are more difficult to read than previously read ones. What about making the background for new comments lighter than the HN default?
EDIT: Never mind, you click the More and it puts them on the current page. I thought it was done automatically when you scroll down. Good stuff!
Chrome stable, Mac Mountain Lion.
[1] http://code.google.com/p/chromium/issues/detail?id=103281
Also, not sure if this is by design, but after I post an in-place reply, I have to reload the page to see my post. However, upon editing a post, the page reloads immediately. I didn't see any error in the console.
As for the other problem, I'm confused about why that's the only thing not working. Are you running any other extensions that could be conflicting?
EDIT: I have no idea why, but as I was hammer-clicking on the Hacker News main button, all of a sudden the unread counts started to appear. I wonder if there was some cache issue or something such as that.