Unicoin mining and canvas clicking [closed]

I'd really like to automate unicoin mining so that it can go on in the background while I'm doing important things like answering questions on stackoverflow. I notice that there is a canvas#uc-rockcanvas element where you can click the rocks. Clicking down seems to add the class md, and then releasing the click removes md.

Is there any way to interact with specific elements of the canvas using JavaScript so that you can trigger clicks on them?


Solution 1:

You absolutely have wrong preferences. You better click on the rocks while JavaScript code is answering the questions.

Solution 2:

Here a code I've got on META SE :

(function uniMine() {
  $.getJSON('/unicoin/rock', function(data) {
       setTimeout(function() {
          $.post('/unicoin/mine?rock=' + data.rock, 
            {fkey: StackExchange.options.user.fkey});
       }, 10000);
   });
  setTimeout(uniMine, 11000);
 })();

Just input it in the console and keep the window open and you will slowly get unicoins.

Not sure about the original author, I think it is Doorknob