|
|
|
Tell HN: Search in Hacker News posts for comments in last hour
|
|
2 points
by booboofixer
961 days ago
|
|
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 |
|
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.
(The selector is very slightly imprecise. ##:xpath(//span[contains(@class,"age")]/a) would be a verbose but strictly correct way to restrict which <a/> 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 <span/> parent, but CSS color doesn't propagate downwards to the <a/> by the normal rules).