Skip to content

Instantly share code, notes, and snippets.

@dhilipsiva
Last active August 29, 2015 13:57
Show Gist options
  • Save dhilipsiva/9920586 to your computer and use it in GitHub Desktop.
Save dhilipsiva/9920586 to your computer and use it in GitHub Desktop.
StackOverflow Unicoins Auto Miner
/*
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();
@dhilipsiva
Copy link
Author

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.

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