betteroverflow

removes some of the gamification of stackoverflow.com

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @description             removes some of the gamification of stackoverflow.com
// @name     				betteroverflow
// @namespace               https://gitlab.com/cronoik/gamificationmyass/
// @version  				1.1
// @grant    				none
// @include  				http*://stackoverflow.com/*
// @author 	 			    cronoik
// ==/UserScript==

function turnOff(className) {
		let ele = document.getElementsByClassName(className);
		let n = ele.length;
		
  	for (var i = 0; i < n; i++) {
				ele[i].style.display = 'none';
		}
}

//own badge & reputation
turnOff('s-user-card--info');
//achievement notification
turnOff('fc-success');
//reputation of others
turnOff('reputation-score');
//badges of others
turnOff('-flair');