Sploop.io Debugging QOL

Removes anti debugging attempts and deobfuscates the source code. You must have instant inject on for this to work.

Stan na 04-06-2024. Zobacz najnowsza wersja.

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

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

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         Sploop.io Debugging QOL
// @namespace    http://tampermonkey.net/
// @version      2024-06-03
// @description  Removes anti debugging attempts and deobfuscates the source code. You must have instant inject on for this to work.
// @author       You
// @match        https://sploop.io/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=sploop.io
// @grant        none
// @run-at       document-start
// ==/UserScript==

// for redundancy, remapping code is already removed from custom appjs
let remappedProperties = ["log", "warn", "info", "error", "exception", "table", "trace"]
for (let i=0; i < remappedProperties.length; i++) {
    let origValue = window.console[remappedProperties[i]]
    Object.defineProperty(window.console, remappedProperties[i], {
        get: ()=>{
            return origValue
        },
        set: ()=>{}
    })
}

// custom appjs, deobfuscated and all anti debugging techniques removed
let current = false
new MutationObserver((mutations) => {
    for (let mutation of mutations) {
        if (mutation.type === "childList" && mutation.addedNodes.length > 0) {
            mutation.addedNodes.forEach((node) => {
                if (node.src) {
                    if (/^https:\/\/sploop.io\/js\/.*\.js$/.test(node.src)) {
                        current = node.src.endsWith("/e08321e984a8efa957b1.js")
                        node.src = "https://sploop-src.glitch.me/app.js"
                    }
                }
            })
        }
    }
}).observe(document, {childList: true, subtree: true})

window.addEventListener("load", ()=>{
    if (!current) console.warn("%c\nWARNING: Custom app.js is outdated, use at your own risk!\n", "color: red; font-size: 20px")
})