AtCoderHideScore

Hide the score section of a task statement on AtCoder.

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 or Violentmonkey 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==
// @name         AtCoderHideScore
// @namespace    https://github.com/kagemeka
// @version      0.1.0
// @description  Hide the score section of a task statement on AtCoder.
// @author       Hiroshi Tsuyuki
// @match        https://atcoder.jp/contests/*/tasks/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license MIT
// ==/UserScript==

window.onload = function() {
    console.log("test hidden");
    const taskSection = document.getElementById("task-statement");
    let section = taskSection.getElementsByTagName("p")[0];
    section.style.display = "none";
    console.log(section);
}