Sploop.io Debugging QOL

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

Verze ze dne 21. 02. 2024. Zobrazit nejnovější verzi.

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

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

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         Sploop.io Debugging QOL
// @namespace    http://tampermonkey.net/
// @version      2024-02-21
// @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 replaced = 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 (node.src.includes("js/7db18bbfc9756234a211.js")) {
                        node.src = "https://sploop-src.glitch.me/app.js"
                        replaced = true
                    }
                }
            })
        }
    }
}).observe(document, {childList: true, subtree: true})

window.addEventListener("load", ()=>{
    if (!replaced) console.warn("Custom app.js is out of date, use at your own risk!")
})