Greasy Fork is available in English.

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 11-03-2024. Zobacz najnowsza wersja.

  1. // ==UserScript==
  2. // @name Sploop.io Debugging QOL
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-03-10
  5. // @description Removes anti debugging attempts and deobfuscates the source code. You must have instant inject on for this to work.
  6. // @author You
  7. // @match https://sploop.io/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=sploop.io
  9. // @grant none
  10. // @run-at document-start
  11. // ==/UserScript==
  12.  
  13. // for redundancy, remapping code is already removed from custom appjs
  14. let remappedProperties = ["log", "warn", "info", "error", "exception", "table", "trace"]
  15. for (let i=0; i < remappedProperties.length; i++) {
  16. let origValue = window.console[remappedProperties[i]]
  17. Object.defineProperty(window.console, remappedProperties[i], {
  18. get: ()=>{
  19. return origValue
  20. },
  21. set: ()=>{}
  22. })
  23. }
  24.  
  25. // custom appjs, deobfuscated and all anti debugging techniques removed
  26. let replaced = false
  27. new MutationObserver((mutations) => {
  28. for (let mutation of mutations) {
  29. if (mutation.type === "childList" && mutation.addedNodes.length > 0) {
  30. mutation.addedNodes.forEach((node) => {
  31. if (node.src) {
  32. if (node.src.includes("js/afb515c462c6291b33a8.js")) {
  33. node.src = "https://sploop-src.glitch.me/app.js"
  34. replaced = true
  35. }
  36. }
  37. })
  38. }
  39. }
  40. }).observe(document, {childList: true, subtree: true})
  41.  
  42. window.addEventListener("load", ()=>{
  43. if (!replaced) console.warn("Custom app.js is out of date, use at your own risk!")
  44. })