hide chat & names

hide chat & name

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

// ==UserScript==
// @name         hide chat & names
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  hide chat & name
// @author       nguyen33kk
// @match        https://sploop.io/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=sploop.io
// @grant        none
// ==/UserScript==

const { fillText, strokeText, drawImage } = CanvasRenderingContext2D.prototype;

CanvasRenderingContext2D.prototype.fillText = function(text, x, y) {
        if (this.fillStyle != '#8ecc51' && text.length > 0 && text.charAt(0) != "[" && text.charAt(text.length - 1) != "]" && y == 19) {
            return;
        }
    fillText.apply(this, arguments);
}

CanvasRenderingContext2D.prototype.strokeText = function(text, x, y) {
        if (this.fillStyle != '#8ecc51' && text.length > 0 && text.charAt(0) != "[" && text.charAt(text.length - 1) != "]" && y == 19) {
            return;
        }
    strokeText.apply(this, arguments);
}


TextDecoder.prototype.decode = function() {
            return "";
        }