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.

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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