Guest User

Reddcoin mintpal tampermonkey script

a guest
Jun 23rd, 2014
5,562
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×