Last active
February 13, 2024 13:53
-
-
Save DirkyJerky/a42579b1583ddf75483f to your computer and use it in GitHub Desktop.
Enter all the raffles on http://scrap.tf/raffles
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
ScrapTF.Raffles.Pagination.LoadNext(); | |
ScrapTF.Raffles.Pagination.LoadNext(); | |
ScrapTF.Raffles.Pagination.LoadNext(); | |
var i = 0; | |
var list; | |
setTimeout(function() { | |
list = document.getElementById("raffles-list").children; | |
list = [].filter.call(list, function(j) { | |
if (j.getAttribute("style") == "") { | |
return true; | |
} else { | |
return false; | |
} | |
}); | |
}, 3000); | |
function raffleLoop() { | |
setTimeout(function() { | |
raffleID = list[i].getAttribute("id").substring(11); | |
ScrapTF.Ajax("viewraffle/EnterRaffle", { | |
raffle: raffleID, | |
captcha: "", | |
rafflekey: undefined, | |
password: "" | |
}, function(data) { | |
console.log("Entered Raffle " + raffleID) | |
}, function(data) { | |
console.error("Cound not enter Raffle " + raffleID); | |
}); | |
i++; | |
if (i < list.length) { | |
raffleLoop(); | |
} else { | |
console.log("All Raffles Queued"); | |
} | |
}, 500); | |
} | |
setTimeout(function() { | |
raffleLoop() | |
}, 3000); |
how do u remove captcha then i tried just deletin it from the script but it didnt work so wat do i do
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working anymore :D they added that captcha -_- gonna fix it myself :)