Comment

Comment by lovelearning

I think you just have to select the right ancestor element.

    news.ycombinator.com##.athing:has(a[href="user?id=example"])
seems to work.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton