Skip to content

Instantly share code, notes, and snippets.

@ghluka
Last active February 15, 2025 06:21
Show Gist options
  • Save ghluka/b06de86cc8013403c575331f7e9570d8 to your computer and use it in GitHub Desktop.
Save ghluka/b06de86cc8013403c575331f7e9570d8 to your computer and use it in GitHub Desktop.
Run this in console and it'll open a cheat menu where you can spawn in cash in the online clicker game "Jerkmate Ranked."
function getCookie(cname) {
let name = cname + "=";
let decodedCookie = decodeURIComponent(document.cookie);
let ca = decodedCookie.split(';');
for(let i = 0; i <ca.length; i++) {
let c = ca[i];
while (c.charAt(0) == ' ') {
c = c.substring(1);
}
if (c.indexOf(name) == 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
function setCookie(cname, cvalue) {
const d = new Date();
d.setTime(d.getTime() + 6048e5);
let expires = "expires=" + d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}
var gameData = JSON.parse(getCookie("gameData"));
gameData.orgasmPoints = parseFloat(prompt("Enter in amount of points you want:", gameData.orgasmPoints))
setCookie("gameData", JSON.stringify(gameData));
history.go(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment