Last active
August 29, 2015 13:57
-
-
Save dhilipsiva/9920586 to your computer and use it in GitHub Desktop.
StackOverflow Unicoins Auto Miner
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
/* | |
github.com/dhilipsiva | |
A Simple JavaScript file to AUTO-MINE StackOverflow unicoins: | |
INSTRCTIONS: | |
0. goto stackoverflow.com | |
1. Open your console. | |
2. Copy this code. | |
3. Paste this into cosole | |
4. Hit enter and enjoy your unicoins. | |
5. Thank me later! :) :D | |
UPDATE: I feel so stupid. Looks like they were just a April Fool's Joke. | |
I took it so serious, that I wrote this script. | |
This script works anyways. But they removed the UI at midnight. | |
*/ | |
var WAIT_TIME = 12000; // Wait for atleast 10 seconds(I am settings 12 here. Just in case) | |
$(document).ajaxComplete(function(event, reply) { | |
var rock = JSON.parse(reply.responseText).rock; | |
if (rock) { | |
console.log(rock); | |
$.post("/unicoin/mine?rock=" + rock, {"fkey": StackExchange.options.user.fkey}); | |
} | |
}); | |
var getRock = function(){ | |
$.get("/unicoin/rock"); | |
setTimeout(getRock, WAIT_TIME); | |
} | |
getRock(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I feel so stupid. Looks like they were just a April Fool's Joke.
I took it so serious, that I wrote this script.
This script works anyways. But they removed the UI at midnight.