Hacker News new | ask | show | jobs
by lb4r 1115 days ago
3-minute uBlock script:

news.ycombinator.com##:xpath(//span[contains(@class, 'comhead')]/a[contains(@href, 'user?id=USERNAME')]/ancestor::td[contains(@class, 'default')])

Replace USERNAME with the user you don't want to see.

Edit: it only works on comments, but you can just as easily make one that hides their submissions as well.

1 comments

Shorter version:

    news.ycombinator.com##.default:has(.hnuser[href$="=USERNAME"])
Alternative version that just makes the text invisible so that you can still highlight it to read it if you really want to:

    news.ycombinator.com##.default:has(.hnuser[href$="=USERNAME"]) .comment > .commtext:style(color: #f6f6ef !important)
> Alternative version that just makes the text invisible so that you can still highlight it to read it if you really want to

Amazing! I had no idea uBlock could actually inject another style.