Skip to content

HackerNews: Hide karma and comment score by airstrike

Screenshot of HackerNews: Hide karma and comment score

Details

Authorairstrike

LicenseCC Zero

Categorynews.ycombinator.com

Created

Updated

Size945 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide karma and comment score on HN

Notes

Please raise any issues as comments on the gist

Source code

/* ==UserStyle==
@name           HackerNews: hide karma and comment score
@namespace      github.com/airstrike
@version        1.0.0
@description    Hide karma and comment score on HN
@author         Andy Terra (airstrike)
==/UserStyle== */

@-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;
    }
}

Reviews

No reviews yet.