3 ms·
Maybe it would be a good idea to hide your own total karma too. It's always right there on the top right, and I can't help looking at it. And I feel happy and p
by mcv 8y ago
Maybe it would be a good idea to hide your own total karma too. It's always right there on the top right, and I can't help looking at it. And I feel happy and proud when that number has gone up, and upset when it has gone down.
Much more useful would be notifications of people responding to my comments, or maybe even people continuing discussions that I'm interested in. It's easy to lose track of those if I haven't posted in them.
- purple_ducks 8y agotampermonkey script to do just that (would be nicer if HN could pop the karma into a span with an id :-) ) // ==UserScript== // @name hide HN karma // @namespace http://tampermonkey.net/ http://tampermonkey.net/ // @version 0.1 // @description hide HN karma // @author You // @match https://news.ycombinator.com/* https://news.ycombinator.com/* // @grant none // ==/UserScript== (function() { 'use strict'; if(document.getElementById('me') !== null){ //hide karma Array.from(document.getElementById('me').parentElement.childNodes) .filter(x => x.nodeType == Node.TEXT_NODE) .forEach(y => {y.textContent=' '}) //remove link to profile page let me = document.getElementById('me'); let newme = document.createElement('span'); newme.textContent = me.textContent; me.parentElement.replaceChild(newme,me) ; } })();
- gpvos 8y agoThanks, I was looking into that earlier today but postponed it exactly because there was no element with an id, so I'd had to look up stuff to write it.
- purple_ducks 8y agoActually, hide karma part can be done clearer with just: //hide karma let karma = document.getElementById("me").nextSibling; karma.textContent = " | "