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.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==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';}
    )
})();