Created
February 7, 2021 08:20
-
-
Save AihaGOD/929648ebe0df67d4b2d220e790559c6d to your computer and use it in GitHub Desktop.
cuntempire-cheat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"options":{"check_for_updates":true,"comment":null,"compatopts_for_requires":true,"compat_wrappedjsobject":false,"compat_metadata":false,"compat_foreach":false,"compat_arrayleft":false,"compat_uW_gmonkey":false,"compat_forvarin":false,"noframes":null,"awareOfChrome":false,"run_at":null,"override":{"merge_connects":true,"merge_excludes":true,"merge_includes":true,"merge_matches":true,"orig_connects":[],"orig_excludes":[],"orig_includes":[],"orig_matches":["https://www.cuntempire.com/"],"orig_noframes":null,"orig_run_at":"document-start","use_blockers":[],"use_connects":[],"use_excludes":[],"use_includes":[],"use_matches":[]}},"settings":{"enabled":false,"position":1},"meta":{"name":"Cunt Empire Cheat","uuid":"0df14c30-4cc0-4cdc-aadb-528cc53627e2","modified":1597953464152}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"data":{},"ts":1596120597883} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Cunt Empire Cheat | |
// @version 1.2020-08-20 | |
// @description Enables the cheat menu - open it by pressing "c" | |
// @author iBelg | |
// @match https://www.cuntempire.com/ | |
// @grant GM_xmlhttpRequest | |
// @run-at document-start | |
// ==/UserScript== | |
!function(){"use strict";GM_xmlhttpRequest({method:"GET",url:`${document.location.origin}/src/app.bundle.js`,onload:e=>{let o=e.responseText;o=o.replace(/(window\.onload\s?=\s?\(\)\s?=>\s?{)(.*})/,"$1 window._game = $2").replace(/(this\.buttonCheat\s?=\s?new .*?\(.,)0(\))/g,"$11$2").replace(/(const\s?f\s?=\s?new .*?\(.,)0(\))/g,"$11$2"),GM_xmlhttpRequest({method:"GET",url:document.location.origin,onload:e=>{let t=e.responseText;t=t.replace(/ src="\/src\/app\.bundle\.js">/,`>\n${o.toString()}`),document.open(),document.write(t),document.close()}})}})}(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can‘t use it