Last active
July 19, 2017 20:31
-
-
Save typcn/77e1b74eb2cc38c5fb5657eb36b386e4 to your computer and use it in GitHub Desktop.
Umetrip OneSecond Activity Cheat Source
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
// Open: http://www.umetrip.com/activity/second/second.html?userId=YourUserId&issue=9 | |
// Use packet capture to get UserID And Token | |
function doStart() { | |
$.ajax({ | |
url: storeUrl + "/UmeStore/OneSecond/oneSecondStart.do?userId=YourUserID&token=YourToken&issue=9", | |
contentType: "application/x-www-form-urlencoded", | |
dataType: "json", | |
cache: !1, | |
timeout: 5e4, | |
success: function(t) { | |
setTimeout(doComplete, 960); // Adjust this based on your latency | |
} | |
}) | |
} | |
function doComplete() { | |
$.ajax({ | |
url: storeUrl + "/UmeStore/OneSecond/getOneSecondResult.do?userId=YourUserID&token=YourToken&issue=9", | |
contentType: "application/x-www-form-urlencoded", | |
dataType: "json", | |
cache: !1, | |
timeout: 5e4, | |
success: function(t) { | |
console.log(t); | |
} | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment