Remix.run Logo
odshoifsdhfs 3 hours ago

Hah i didn’t see who submitted it but as soon as I read your message i thought it was simonw, and behold, tada!

HN really needs a way to block or hide posts from some users.

duskdozer 42 minutes ago | parent | next [-]

firefox usercss or stylus addon, enjoy ;), no LLM needed

    tr.submission:has(a[href="from?site=<...>"])
    {
        display: none;

        & + tr
        {
            display: none;
        }
    }

    .comtr:has(.hnuser[href="user?id=<...>"])
    {
        display: none;
    }

This isn't just a CSS snippet—it's a monumentous paradigm shift in your HN browsing landscape. A link on the front page? That's not noise anymore—that's pure signal.

time to take a shower after writing that

manarth 40 minutes ago | parent [-]

HN formatting isn't quite markdown: you want a 4-space prefix to identify/format text as code.

duskdozer 35 minutes ago | parent [-]

my tabs :(

does it look measurably different this way? to me it looks the same but now indented

manarth 24 minutes ago | parent [-]

Looks great now!

And thanks for an example with nested CSS, I hadn't seen that outside SASS before, hadn't realised that had made its way into W3C standards :-)

manarth 42 minutes ago | parent | prev | next [-]

I described an approach here – feel free to use this if it's fit for your use-case:

https://news.ycombinator.com/item?id=46341604

consumer451 2 hours ago | parent | prev [-]

Ironically, you could probably generate a browser extension or user script to do that in one to three prompts.

agmater 2 hours ago | parent [-]

If you can't one-shot that you've been declawed /s