Skip to content

Instantly share code, notes, and snippets.

@Extered
Created December 7, 2018 12:32
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 Extered/0e22d5055eb721eaaf81622b5c735677 to your computer and use it in GitHub Desktop.
Save Extered/0e22d5055eb721eaaf81622b5c735677 to your computer and use it in GitHub Desktop.
DeliveryTurboFarmer
window.deliverytf = setInterval(function() {var oReq = new XMLHttpRequest();
oReq.addEventListener("load", function(){var code = JSON.parse(this.responseText).data.promocode; if (!code){clearInterval(window.deliverytf);console.log("Всё!")}else{console.log(code)};});
oReq.open("GET", "https://dtf.ru/cheatsconsole/check?value=food");
oReq.send();}, 1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment