Skip to content

Instantly share code, notes, and snippets.

@greggman
Created December 4, 2018 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greggman/1d8c2b163e4a4aa35235c3818a67e633 to your computer and use it in GitHub Desktop.
Save greggman/1d8c2b163e4a4aa35235c3818a67e633 to your computer and use it in GitHub Desktop.
Hide score on hacker news in firefox
/*
For me I know my score on HN gamifies me into wanting to spend more time on HN.
Anytime I see my score go up feel a tiny hit of pleasure and click to see why.
Looking at my comments anytime I see the score I feel proud someone liked my
comment.
While that is probably the intent I feel it's compelling me in unhealthy ways
and promotes my addiction to HN.
Using this userContent.css file I can hide that score. We'll see how it goes.
This goes in your user profile folder in a `chrome` sub folder.
See: https://superuser.com/a/319322/16930
*/
@-moz-document domain(news.ycombinator.com) {
.score { display: none; }
body>center>table>tbody>tr:first-child>td>table>tbody>tr:first-child>td:nth-child(3) {
visibility: hidden;
}
body>center>table>tbody>tr:first-child>td>table>tbody>tr:first-child>td:nth-child(3) a {
visibility: visible;
}
html[op=user]>body>center>table>tbody>tr:nth-child(0n+3)>td:first-child form>table>tbody>tr:nth-child(3) {
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment