// ==UserScript==
// @name CF Anti Ratist
// @version 1.0
// @description Remove participant solved from codeforces also the rating and where the problem came from
// @author hocky
// @match https://codeforces.me/*
// @match http://codeforces.me/*
// @grant none
// ==/UserScript==
;(function () {
'use strict'
$('a[title="Participants solved the problem"]').remove();
$('span.tag-box').remove();
$('table.rtable').remove();
// $('div.header div.title').remove();
$('head title').remove();
const colors = ["gray", "green", "cyan", "blue", "violet", "orange", "red","legendary"];
for(const color of colors) {
const currentRating = `.user-${color}`
const userNames = $(currentRating);
userNames.each((key, name) => {
// console.log(currentRating.slice(1));
// README: Uncomment the below line if you want to hide colors as well
// name.classList.remove(currentRating.slice(1))
if(parseInt(name.textContent) > 0)
name.remove();
})
}
const problemRatings = $('.ProblemRating');
problemRatings.each((key, problemRating) => {
if(parseInt(problemRating.textContent) > 1800) problemRating.remove();
})
})()
// @match https://codeforces.me/problemset
// @match https://codeforces.me/contest/*
// @match https://codeforces.me/gym/*
// @match https://codeforces.me/profile/*
// @match https://codeforces.me/problemset/page/*
// @match http://codeforces.me/problemset
// @match http://codeforces.me/contest/*
// @match https://ioi.contest.codeforces.com/*
// @match http://codeforces.me/gym/*
// @match http://codeforces.me/profile/*
// @match http://codeforces.me/problemset/page/*