I have a uBlock filter rule that does something like this, but with a plain regex,<p><pre><code> ycombinator.com##:xpath(//span[contains(@class,"age")]/a):has-text(/(\d+) minute(s?) ago/):style(color: Teal !important; font-weight: bold)
</code></pre>
It highlights both comments and posts.<p>(I like using this trick, the uBlock regex → CSS matching rule that's so generically useful. I can configure things I'd otherwise be too lazy to configure, if it wasn't for uBlock).