Live data from Hacker News

Tell HN: Search in Hacker News posts for comments in last hour

news.ycombinator.com

1–2 of 2 posts

Tell HN: Search in Hacker News posts for comments in last hour

#1
Use the chrome extension Chrome Regex Search https://chrome.google.com/webstore/detail/chrome-regex-search/bpelaihoicobbkgmhcbikncnpacdbknn

Use ctrl + shift + f to search using the extension

Use regex ([0-9]|[1-5][0-9]) minutes ago

P.S. Chrome extensions are risky for privacy P.P.S Most useful for who's hiring threads

Re: Tell HN: Search in Hacker News posts for comments in last hour

#2
- "extensions are risky for privacy"

You can also do all of this in uBlock Origin, with cosmetic filters! No additional extensions, beyond @gorhill's uBO which I assume everyone trusts highly.

    ycombinator.com##a:has-text(/(\d+) minute(s?) ago/):style(color: HotPink !important; font-weight: bold)
(The selector is very slightly imprecise. ##:xpath(//span[contains(@class,"age")]/a) would be a verbose but strictly correct way to restrict which elements are looked at (in place of just ##a). I'm not aware of a non-XPath way to express that. ##.age is a concise way to reliably select the parent, but CSS color doesn't propagate downwards to the by the normal rules).