←back to thread

1901 points l2silver | 1 comments | | HN request time: 0.205s | source

Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.
Show context
sir-g ◴[] No.35750370[source]
I wrote a JS bookmark that lets me jump to the next top-level comment on HN. I use it for finding interesting conversions without having to scroll and look for the next top-level comment.

It works by finding all of the comments with indent=="0". Then, each time the bookmark is clicked, it creates and follows a link. Each comment has a unique id so I just have to concatenate current_url + "#" + unique_id and follow that link.

Once the script reaches the bottom, it follows the "more comments" link and repeats the same process.

I plan to write something similar for Reddit

replies(2): >>35750403 #>>35751574 #
anjanb ◴[] No.35750403[source]
Hi, Can you share the same please ? I was planning on writing a browser extension that lists the top level comments for big threads like these.
replies(1): >>35759435 #