Programmers interviewer's screen

There are too many sensitive information in the coding test results of Programmers. This is mainly for sharing the results with the interviewee.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Programmers interviewer's screen
// @namespace    https://greasyfork.org/en/users/1323529-jaesuk-hwang
// @version      2024-06-25
// @description  There are too many sensitive information in the coding test results of Programmers. This is mainly for sharing the results with the interviewee.
// @author       Jaesuk Hwang
// @match        https://business.programmers.co.kr/tryout_tokens/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    document.querySelector('div.navbar-application').style.display = 'none';
    document.querySelector('div.container-tryout-tokens').style.display = 'none';
    document.querySelector('div.footer-wrap').style.display = 'none';
    document.querySelectorAll('div.algorithm-tab').forEach(
        (element) => {
            element.childNodes[1].remove();
        }
    )
    document.querySelectorAll('div.arrow-submission').forEach(
        (element) => {element.style.display = 'none';}
    )
    document.querySelectorAll('h6.submission-score').forEach(
        (element) => {element.style.display = 'none';}
    )
    document.querySelectorAll('div.submission-results').forEach(
        (element) => {element.style.display = 'none';}
    )
})();