Live data from Hacker News

How to read Hacker News threads with most recent comments first

til.simonwillison.net

11–20 of 28 posts

Re: How to read Hacker News threads with most recent comments first

#11
Here's a bookmarklet to take you directly to the algolia page from a thread:

  javascript: (() => {
    const id = window.location.href.match(/\d+$/g)[0];
    window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`)
  })();

Re: How to read Hacker News threads with most recent comments first

#13
post #5

I'm a simple guy, and I just do Ctrl-F "minutes ago".

Don't forget to check "minute ago", for those sneaky 1-minute-old comments.

Hahahaha! Nice. Your comment just happened to be tagged as "1 minute ago" at the moment I read it… Could not have driven the point home for me more thoroughly than that.

Re: How to read Hacker News threads with most recent comments first

#16
post #11

Here's a bookmarklet to take you directly to the algolia page from a thread: javascript: (() => { const id = window.location.href.match(/\d+$/g)[0]; window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`) })();

what is algolia page?

Re: How to read Hacker News threads with most recent comments first

#17
post #11

Here's a bookmarklet to take you directly to the algolia page from a thread: javascript: (() => { const id = window.location.href.match(/\d+$/g)[0]; window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`) })();

what is algolia page?

Algolia is the search that HN uses when you use the search bar at the bottom of the page.

Re: How to read Hacker News threads with most recent comments first

#18
post #11

Here's a bookmarklet to take you directly to the algolia page from a thread: javascript: (() => { const id = window.location.href.match(/\d+$/g)[0]; window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`) })();

what is algolia page?

algolia is the search provider for HN. If you use the search bar at the bottom of HN, it will take you to algolia.

Re: How to read Hacker News threads with most recent comments first

#19
post #11

Here's a bookmarklet to take you directly to the algolia page from a thread: javascript: (() => { const id = window.location.href.match(/\d+$/g)[0]; window.open(`https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=story:${id}&sort=byDate&type=comment`) })();

what is algolia page?

The article explains three ways to get new comments in a thread. One way is to go to Algolia (Search provider for HN) and type in the thread id in a specific format. This bookmarklet will open that page directly with all the options pre-selected instead of having to open a new tab, copy and type in the id in the search box, etc.

Re: How to read Hacker News threads with most recent comments first

#20
Please note that dang also has a feature in the works which adds an orange border on the left side of the new comments since your last visit of the thread. I've been using it for months and it is amazing! Email him and he might turn it on for you.
Post reply on HN