Created
July 29, 2020 21:26
-
-
Save nathanielbd/8773daf17e9759f875176e3ebb8fe809 to your computer and use it in GitHub Desktop.
Scripts for trolling on protobowl.com
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
// Escalate to ninja privileges | |
// pressing 'f' and 'd' will answer a question correctly | |
go.id = "_"; | |
// reveal the answer every two seconds | |
// found in the obfuscated client app code | |
setInterval(tt, 2000); | |
// display the answer in the console | |
// found under window global variables | |
console.log($o.answer); | |
// automatically buzz the right answer every 7 seconds | |
setInterval(function(){ | |
$(".buzzbtn").click(); | |
var guess = $o.answer; | |
$(".guess_input").val(guess.slice(guess.indexOf('{')+1, guess.indexOf('}')+1)); | |
$(".guess_form").submit(); | |
$(".nextbtn").click(); | |
}, 7000); | |
// Spam a copypasta | |
var text = "A funny copypasta"; | |
var arr = text.split(" "); | |
var i = 0; | |
setInterval(function(){ | |
$(".chat_input").val(arr[i]); | |
i++; | |
$(".chat_form").submit(); | |
}, 200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment