Advertisement
Guest User

Reddcoin mintpal tampermonkey script

a guest
Jun 23rd, 2014
8,696
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  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.  
  5. // ==UserScript==
  6. // @name Mintpal AutoVote
  7. // @namespace http://noneoffurbisniss.com/
  8. // @include https://mintpal.com/*
  9. // @include https://www.mintpal.com/*
  10. // @version 2
  11. // @require http://code.jquery.com/jquery-2.0.3.min.js
  12. // ==/UserScript==
  13.  
  14. jQuery.fn.simulateClick = function() {
  15. return this.each(function() {
  16. if('createEvent' in document) {
  17. var doc = this.ownerDocument,
  18. evt = doc.createEvent('MouseEvents');
  19. evt.initMouseEvent('click', true, true, doc.defaultView, 1, 0, 0, 0, 0, false, false, false, false, 0, null);
  20. this.dispatchEvent(evt);
  21. } else {
  22. this.click(); // IE :\
  23. }
  24. });
  25. }
  26.  
  27. function vote() {
  28. $('a[coin="80"]').simulateClick('click');
  29. }
  30.  
  31. function randomIntFromInterval(min,max)
  32. {
  33. return Math.floor(Math.random()*(max-min+1)+min);
  34. }
  35.  
  36. function reload() {
  37. location.reload();
  38. }
  39.  
  40. // Initialize
  41. if (document.domain == 'mintpal.com' || document.domain == 'www.mintpal.com')
  42. {
  43. vote();
  44. if(window.location.href.indexOf("voting") > -1) {
  45. setInterval(function() {
  46. reload();
  47. }, randomIntFromInterval(600000, 750000));
  48. }
  49. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement