Skip to content

Instantly share code, notes, and snippets.

@airstrike
Created March 8, 2024 17:43
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 airstrike/62584e6ffb6104791c0ae48a8e5a2dd8 to your computer and use it in GitHub Desktop.
Save airstrike/62584e6ffb6104791c0ae48a8e5a2dd8 to your computer and use it in GitHub Desktop.
Hide karma and comment score on HN
@-moz-document domain("news.ycombinator.com") {
/* Hide karma and points on replies */
span.pagetop #karma, span.comhead span.score {
visibility: hidden;
position: relative;
display: inline-block;
height: 10px !important;
overflow: hidden;
}
span.pagetop #karma {
width: 0.8rem !important;
}
span.comhead span.score {
width: 0.8rem !important;
}
span.pagetop #karma::before, span.comhead span.score::before {
content: "•••";
visibility: visible;
overflow: hidden;
opacity: 0.8;
font-family: Helvetica, Arial, sans-serif !important;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment