4 ms·
Yes. Wish there was a way to disable points and karma on HN
by ffpip 6y ago
Yes. Wish there was a way to disable points and karma on HN
- dgellow 6y agoI'm using the following stylesheet to hide scoring on HN: /* Hide score */ /* Top bar */ #hnmain>tbody>tr:nth-child(1)>td>table>tbody>tr>td:nth-child(3)>span { font-size: 0 !important; } #hnmain>tbody>tr:nth-child(1)>td>table>tbody>tr>td:nth-child(3)>span * { font-size: 10pt !important; } #hnmain>tbody>tr:nth-child(1)>td>table>tbody>tr>td:nth-child(3)>span>a:nth-child(1) { margin-right: 20px !important; } /* Main page and discussion page */ #hnmain>tbody td.subtext span.score { display: none !important; } /* Profile page */ #hnmain>tbody>tr:nth-child(3)>td>form>table>tbody>tr:nth-child(3) { display: none !important; } /* Threads page */ #hnmain .comhead .score { display: none !important; } It's hacky, but I have this since ~5 years and it has been quite stable. It's not on the chrome store, but I have a dumb browser extension to enable/disable: https://github.com/dgellow/hn-no-pressure https://github.com/dgellow/hn-no-pressure.
- ffpip 6y agoOr you could add a single line to uBlock Origin (in 'my Filters' ) news.ycombinator.com##.score
- wrnr 6y agoThanks I'm doing that now, always the person who prefers to spend ma karma instead of hoard it. Bury me deep all you want, got tha fingers in the ears
- dvtrn 6y agoYou got anything similar to keep downvoted comments from being discolored? It’s a bit of an accessibility issue for me.
- shakna 6y ago.c00, .c00 a:link { color:#000000; } .c5a, .c5a a:link, .c5a a:visited { color:#000000; } .c73, .c73 a:link, .c73 a:visited { color:#000000; } .c82, .c82 a:link, .c82 a:visited { color:#000000; } .c88, .c88 a:link, .c88 a:visited { color:#000000; } .c9c, .c9c a:link, .c9c a:visited { color:#000000; } .cae, .cae a:link, .cae a:visited { color:#000000; } .cbe, .cbe a:link, .cbe a:visited { color:#000000; } .cce, .cce a:link, .cce a:visited { color:#000000; } .cdd, .cdd a:link, .cdd a:visited { color:#000000; } Whilst those class names can seem somewhat random, they actually refer to the original color names, so should be pretty stable for an override.