GoCoderzHack

im too lazy i hope it works

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         GoCoderzHack
// @version      2
// @description  im too lazy i hope it works
// @author       You
// @match        https://play.gocoderz.com/dashboard/*
// @grant        none
// @run-at       document-start
// @namespace https://google.com
// ==/UserScript==

function makecomplete(id){
fetch("https://play.gocoderz.com/coderz-api/updateAttempts",{method:"POST",body:JSON.stringify({id: id, completed: "1", score: 100}), headers:{"content-type": "application/json;charset=UTF-8"}})
}

function addattempt(id, t){
    for(var b=0;b<t;b++){
        fetch("https://play.gocoderz.com/coderz-api/updateAttempts",{method:"POST",body:JSON.stringify({id: id, completed: "0", score: 0}), headers:{"content-type": "application/json;charset=UTF-8"}})
    }
}

function addcompletetime(id,s){
fetch("https://play.gocoderz.com/coderz-api/updateDuration",{method:"POST",body:JSON.stringify({id: id, completed: "0", duration: s}), headers:{"content-type": "application/json;charset=UTF-8"}})
}

function legitcomplete(id){
let c = 3+Math.floor(Math.random()*5);
let t = c*40+(Math.floor(Math.random()*21)-10)
addattempt(id, c);
addcompletetime(id, c*40);
makecomplete(id);

document.write("Succesfully added "+c+" attempts, "+t+" seconds, and completed the mission of id: "+window.location.toString().match(/[0-9]{7}/)[0]+".</br>You can go back now and refresh and it will show :)");
}
if(window.location.toString().match(/[0-9]{7}/)[0].length>0){
   legitcomplete(window.location.toString().match(/[0-9]{7}/)[0]);
   }