Skip to content

Instantly share code, notes, and snippets.

@codergautam
Last active May 3, 2021 15:37
Show Gist options
  • Save codergautam/3f36688284862a56205af5aeb496e90e to your computer and use it in GitHub Desktop.
Save codergautam/3f36688284862a56205af5aeb496e90e to your computer and use it in GitHub Desktop.
Hack for guessthiscode.com
//run this in the console of guessthiscode.com
setInterval(() => {
var btnlist = document.getElementsByTagName("button");
var thebtn;
for(var i = 0; i < btnlist.length; i++){
if(btnlist[i].innerHTML == rightLanguage){
thebtn = btnlist[i];
break;
}
}
thebtn.click()
document.getElementsByClassName("btn-next")[0].click()
}, 100)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment