Created
April 1, 2014 09:25
-
-
Save nvcnvn/9910811 to your computer and use it in GitHub Desktop.
stackoverflow Unicoins cheat code
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 your browser with a network tool (inpsect element in Chrome) than mine one rock. | |
Check the POST request to stackoverflow.com/unicoin/mine when you just finish the rock, you will find your fkey. | |
Paste this code to console tab, hit enter and leave the browser mine coin for you. | |
*/ | |
var fkey = "your fkey"; | |
var rocks = []; | |
function mine() { | |
if(rocks.length==0){ | |
return | |
} | |
var r = rocks.shift(); | |
$.post('http://stackoverflow.com/unicoin/mine?rock=' + r, { | |
fkey: fkey | |
}, function (data) { | |
console.log(data) | |
}); | |
} | |
$.ajaxSetup({ | |
dataFilter: function (data, type) { | |
d = JSON.parse(data); | |
if (typeof d.rock != 'undefined') { | |
rocks.push(d.rock); | |
} | |
return data; | |
} | |
}); | |
setInterval(mine, 10500) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment