betteroverflow

removes some of the gamification of stackoverflow.com

  1. // ==UserScript==
  2. // @description removes some of the gamification of stackoverflow.com
  3. // @name betteroverflow
  4. // @namespace https://gitlab.com/cronoik/gamificationmyass/
  5. // @version 1.1
  6. // @grant none
  7. // @include http*://stackoverflow.com/*
  8. // @author cronoik
  9. // ==/UserScript==
  10.  
  11. function turnOff(className) {
  12. let ele = document.getElementsByClassName(className);
  13. let n = ele.length;
  14. for (var i = 0; i < n; i++) {
  15. ele[i].style.display = 'none';
  16. }
  17. }
  18.  
  19. //own badge & reputation
  20. turnOff('s-user-card--info');
  21. //achievement notification
  22. turnOff('fc-success');
  23. //reputation of others
  24. turnOff('reputation-score');
  25. //badges of others
  26. turnOff('-flair');