Skip to main content
2 of 4
edited tags

Greasemonkey: Hide all pointless user data (gravatar, badges, and reputation)

hide pointless user data on userscripts.com

When I look at answers, I often take the user's reputation into account on whether I upvote them or not. This is a terribly bad thing to do as you should vote on answers based on quality, and nothing else. (it also keeps me from getting distracted looking at other user's rep :p ). So here's a greasemonkey scripts that hides other user's rep, badges, and gravatars (except your own badges and rep in the header). The relevant information, like their username, when the question was edited, and their accept rate, are kept.

source:

// ==UserScript==
// @name           Hide other users reputation
// @namespace      CrazyJugglerDrummer
// @description    hides all users reputations except yours in site header
// @include        http://stackoverflow.com/*
// @include        http://superuser.com/*
// @include        http://serverfault.com/*
// @include        http://meta.stackoverflow.com/*
// ==/UserScript==

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}

addGlobalStyle("span.reputation-score, span.badge1, span.badge2, span.badge3, span.badgecount, div.accept-answer-link, div.user-gravatar32 { display: none; }"); //hides undesired user info
addGlobalStyle("#header span.reputation-score, #header span.badge1, #header span.badge2, #header span.badge3, #header span.badgecount { display: inline; }"); //unhides that info in the header (your own info)