Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Ad hack
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://zlamoney.club/showadv.php?*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. setInterval(function(){
  14.  
  15. var first = document.getElementById("cimg1");
  16. var second = document.getElementById("cimg2");
  17. var third = document.getElementById("cimg3");
  18. var field = document.getElementsByTagName("input")[0];
  19.  
  20. var fimg = first.getElementsByTagName('img')[0].src;
  21. var simg = second.getElementsByTagName('img')[0].src;
  22. var timg = third.getElementsByTagName('img')[0].src;
  23.  
  24. var frst = 0;
  25. var scnd = 0;
  26. var thrd = 0;
  27.  
  28. if(fimg == "https://zlamoney.club/images/capchs/1.png"){
  29. frst = 1;
  30. }
  31. else if (fimg.src == "https://zlamoney.club/images/capchs/2.png"){
  32. frst = 2;
  33. }
  34. else if (fimg == "https://zlamoney.club/images/capchs/3.png"){
  35. frst = 3;
  36. }
  37. else if (fimg == "https://zlamoney.club/images/capchs/4.png"){
  38. frst = 4;
  39. }
  40. else if (fimg == "https://zlamoney.club/images/capchs/5.png"){
  41. frst = 5;
  42. }
  43. else if (fimg == "https://zlamoney.club/images/capchs/6.png"){
  44. frst = 6;
  45. }
  46. else if (fimg == "https://zlamoney.club/images/capchs/7.png"){
  47. frst = 7;
  48. }
  49. else if (fimg == "https://zlamoney.club/images/capchs/8.png"){
  50. frst = 8;
  51. }
  52. else if (fimg == "https://zlamoney.club/images/capchs/9.png"){
  53. frst = 9;
  54. }
  55. else if (fimg == "https://zlamoney.club/images/capchs/0.png"){
  56. frst = 0;
  57. }
  58.  
  59. if(simg == "https://zlamoney.club/images/capchs/1.png"){
  60. scnd = 1;
  61. }
  62. else if (simg == "https://zlamoney.club/images/capchs/2.png"){
  63. scnd = 2;
  64. }
  65. else if (simg == "https://zlamoney.club/images/capchs/3.png"){
  66. scnd = 3;
  67. }
  68. else if (simg == "https://zlamoney.club/images/capchs/4.png"){
  69. scnd = 4;
  70. }
  71. else if (simg == "https://zlamoney.club/images/capchs/5.png"){
  72. scnd = 5;
  73. }
  74. else if (simg == "https://zlamoney.club/images/capchs/6.png"){
  75. scnd = 6;
  76. }
  77. else if (simg == "https://zlamoney.club/images/capchs/7.png"){
  78. scnd = 7;
  79. }
  80. else if (simg == "https://zlamoney.club/images/capchs/8.png"){
  81. scnd = 8;
  82. }
  83. else if (simg == "https://zlamoney.club/images/capchs/9.png"){
  84. scnd = 9;
  85. }
  86. else if (simg == "https://zlamoney.club/images/capchs/0.png"){
  87. scnd = 0;
  88. }
  89.  
  90. if(timg == "https://zlamoney.club/images/capchs/1.png"){
  91. thrd = 1;
  92. }
  93. else if (timg == "https://zlamoney.club/images/capchs/2.png"){
  94. thrd = 2;
  95. }
  96. else if (timg == "https://zlamoney.club/images/capchs/3.png"){
  97. thrd = 3;
  98. }
  99. else if (timg == "https://zlamoney.club/images/capchs/4.png"){
  100. thrd = 4;
  101. }
  102. else if (timg == "https://zlamoney.club/images/capchs/5.png"){
  103. thrd = 5;
  104. }
  105. else if (timg == "https://zlamoney.club/images/capchs/6.png"){
  106. thrd = 6;
  107. }
  108. else if (timg == "https://zlamoney.club/images/capchs/7.png"){
  109. thrd = 7;
  110. }
  111. else if (timg == "https://zlamoney.club/images/capchs/8.png"){
  112. thrd = 8;
  113. }
  114. else if (timg == "https://zlamoney.club/images/capchs/9.png"){
  115. thrd = 9;
  116. }
  117. else if (timg == "https://zlamoney.club/images/capchs/0.png"){
  118. thrd = 0;
  119. }
  120. var sum = frst*100 + scnd*10 + thrd;
  121. field.value = sum;
  122. document.getElementsByTagName("input")[1].click();
  123. document.getElementsByTagName("input")[1].click();
  124.  
  125. }, 200);
  126.  
  127. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement