Dutchycorp Script Coin roll + PTC Support

Free Dutchycorp rolls

  1. // ==UserScript==
  2. // @name Dutchycorp Script Coin roll + PTC Support
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.7
  5. // @description Free Dutchycorp rolls
  6. // @author vikiweb
  7. // @match https://autofaucet.dutchycorp.space/*
  8. // @match https://autofaucet.dutchycorp.space/
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=dutchycorp.space
  10. // @require http://code.jquery.com/jquery-3.4.1.min.js
  11. // @grant GM_xmlhttpRequest
  12. // @grant GM_setValue
  13. // @grant GM_getValue
  14. // @license MIT
  15. // ==/UserScript==
  16.  
  17. (function() {
  18. 'use strict';
  19. ////EDIT YOUR USER NAME AND PASSWORD BELOW////
  20. var username = "email";////EXAMPLE////
  21. var password = "password";////EXAMPLE////
  22. var dutchRoll = false;
  23.  
  24. function isCaptchaChecked() {
  25. return grecaptcha && grecaptcha.getResponse().length !== 0;
  26. }
  27.  
  28. function visibleCheck(elm) {
  29. if(!elm.offsetHeight && !elm.offsetWidth) { return false; }
  30. if(getComputedStyle(elm).visibility === 'hidden') { return false; }
  31. return true;
  32. }
  33.  
  34.  
  35. if(document.querySelector("body #features") && (window.location.href.includes("https://autofaucet.dutchycorp.space/"))) {
  36. window.location.replace("https://autofaucet.dutchycorp.space/login.php");
  37. }
  38.  
  39. if(window.location.href.includes("https://autofaucet.dutchycorp.space/login.php")){
  40.  
  41. setInterval(function() {
  42. if (document.querySelector("input[name='username']")) {
  43. document.querySelector("input[name='username']").value = username;
  44. }
  45. if (document.querySelector("input[name='password']")) {
  46. document.querySelector("input[name='password']").value = password;
  47. }
  48. }, 1000);
  49.  
  50.  
  51. setInterval(function() {
  52.  
  53. if (isCaptchaChecked()) {
  54. if (document.querySelector("button[name='login-btn']")) {
  55. document.querySelector("button[name='login-btn']").click();
  56. }
  57. }
  58. }, 6000);
  59.  
  60. }
  61.  
  62. if(window.location.href.includes("https://autofaucet.dutchycorp.space/roll.php")){
  63.  
  64.  
  65. if(!document.querySelector("#timer")){
  66. setInterval(function(){
  67.  
  68. if (isCaptchaChecked()) {
  69. if (document.querySelector(".boost-btn.unlockbutton") && dutchRoll === false) {
  70. document.querySelector(".boost-btn.unlockbutton").click();
  71. dutchRoll = true;
  72. }
  73.  
  74. if(visibleCheck(document.querySelector("#claim_boosted"))){
  75. document.querySelector("#claim_boosted").click();
  76. }
  77. }
  78. }, 5000)
  79. }else{
  80. setTimeout(function(){
  81. window.location.replace("https://autofaucet.dutchycorp.space/coin_roll.php")
  82. },2000)
  83. }
  84.  
  85. }
  86.  
  87. if(window.location.href.includes("https://autofaucet.dutchycorp.space/coin_roll.php")){
  88.  
  89. if(!document.querySelector("#timer")){
  90. setInterval(function(){
  91.  
  92. if (isCaptchaChecked()) {
  93. if (document.querySelector(".boost-btn.unlockbutton") && dutchRoll === false) {
  94. document.querySelector(".boost-btn.unlockbutton").click();
  95. dutchRoll = true;
  96. }
  97.  
  98. if(visibleCheck(document.querySelector("#claim_boosted"))){
  99. document.querySelector("#claim_boosted").click();
  100. }
  101. }
  102. }, 5000)
  103. }else{
  104. setTimeout(function(){
  105. window.location.replace("https://autofaucet.dutchycorp.space/your_balance.php")
  106. },2000)
  107. }
  108. }
  109. if(window.location.href.includes("https://autofaucet.dutchycorp.space/your_balance.php")){
  110. setTimeout(function(){
  111. window.location.replace("https://autofaucet.dutchycorp.space/roll.php")
  112. },60*10000)
  113. }
  114.  
  115. if(window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/wall.php")){
  116. var wallLink = document.querySelectorAll(".col.s10.m6.l4 a[name='claim']");
  117.  
  118. if(wallLink.length >= 1){
  119. wallLink[0].style.backgroundColor = "red";
  120.  
  121. let match = wallLink[0].onmousedown.toString().match(/'href', '(.+)'/);
  122. let hrefValue = match[1];
  123.  
  124. setTimeout(function(){
  125. window.location.replace("https://autofaucet.dutchycorp.space" + hrefValue)
  126. },5000)
  127.  
  128. }
  129. }
  130.  
  131. if(window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/view.php")){
  132.  
  133. console.log('viewing ptc');
  134.  
  135. setInterval(function(){
  136. if(visibleCheck(document.querySelector("#submit_captcha")) && clickCheck === false){
  137. document.querySelector("button[type='submit'].g-recaptcha").click();
  138. clickCheck = true;
  139. }else{
  140. console.log('not found')
  141. }
  142. }, 10000)
  143. }
  144.  
  145. if(window.location.href === "https://autofaucet.dutchycorp.space/ptc/"){
  146.  
  147. console.log('viewing ptc');
  148.  
  149. setInterval(function(){
  150. if(visibleCheck(document.querySelector("#submit_captcha")) && clickCheck === false){
  151. document.querySelector("button[type='submit'].g-recaptcha").click();
  152. clickCheck = true;
  153. }else{
  154. console.log('not found')
  155. }
  156. }, 10000)
  157. }
  158.  
  159. })();