Skip to content

Instantly share code, notes, and snippets.

@nathanielbd
Created July 29, 2020 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanielbd/8773daf17e9759f875176e3ebb8fe809 to your computer and use it in GitHub Desktop.
Save nathanielbd/8773daf17e9759f875176e3ebb8fe809 to your computer and use it in GitHub Desktop.
Scripts for trolling on protobowl.com
// 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