Reddcoin Tampermonkey script


SUBMITTED BY: Guest

DATE: June 18, 2014, 4:13 p.m.

FORMAT: Text only

SIZE: 1.6 kB

HITS: 1588

  1. This is the tampermonkey js that r/reddcoin encourages their users to use for vote botting.
  2. Dropbox: https://dl.dropboxusercontent.com/u/2096349/Mintpal%20AutoVote.tamper%20v3.js
  3. See irc logs HERE: http://bitbin.it/o65IQh74 & http://pastebin.com/KkbJNVXB
  4. // ==UserScript==
  5. // @name Mintpal AutoVote
  6. // @namespace http://noneoffurbisniss.com/
  7. // @include https://mintpal.com/*
  8. // @include https://www.mintpal.com/*
  9. // @version 2
  10. // @require http://code.jquery.com/jquery-2.0.3.min.js
  11. // ==/UserScript==
  12. jQuery.fn.simulateClick = function() {
  13. return this.each(function() {
  14. if('createEvent' in document) {
  15. var doc = this.ownerDocument,
  16. evt = doc.createEvent('MouseEvents');
  17. evt.initMouseEvent('click', true, true, doc.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
  18. this.dispatchEvent(evt);
  19. } else {
  20. this.click(); // IE :\
  21. }
  22. });
  23. }
  24. function vote() {
  25. $('a[coin="80"]').simulateClick('click');
  26. }
  27. function randomIntFromInterval(min,max)
  28. {
  29. return Math.floor(Math.random()*(max-min+1)+min);
  30. }
  31. function reload() {
  32. location.reload();
  33. }
  34. // Initialize
  35. if (document.domain == 'mintpal.com' || document.domain == 'www.mintpal.com')
  36. {
  37. vote();
  38. if(window.location.href.indexOf("voting") > -1) {
  39. setInterval(function() {
  40. reload();
  41. }, randomIntFromInterval(600000, 750000));
  42. }
  43. }

comments powered by Disqus