Skip to content

Instantly share code, notes, and snippets.

@HelloWorld017
Created October 4, 2016 08:11
Show Gist options
  • Save HelloWorld017/730f4aaf1130e3d62168e030aa2c0bce to your computer and use it in GitHub Desktop.
Save HelloWorld017/730f4aaf1130e3d62168e030aa2c0bce to your computer and use it in GitHub Desktop.
Telegram gamebot cheat: enter the game, input that on the omnibox
javascript:
var xhr = new XMLHttpRequest;
xhr.open("POST", "/api/setScore", true);
xhr.onreadystatechange = function(){
alert(xhr.responseText);
};
var tag = location.href.split('#')[1].split("&")[0];
xhr.send("data=" + encodeURIComponent(tag) +"&score=999");
@Jasur1224
Copy link

Can you explain this on YouTube please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment