Greasy Fork 支持简体中文。

abc

asdfasdf

  1. // ==UserScript==
  2. // @name abc
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.4
  5. // @description asdfasdf
  6. // @author luna
  7. // @match https://bithub.win/*
  8. // @match https://ouo.io/*
  9. // @match https://ouo.press/*
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=bithub.win
  11. // @require https://greasyfork.org/scripts/461948-fbase-lib/code/FBase%20Lib.js?version=1222667
  12. // @grant GM_setValue
  13. // @grant GM_getValue
  14. // ==/UserScript==
  15. //
  16. // You can reach me on telegram for more scripts ==> https://t.me/+YDDLGvZmgxE3Mzhk
  17. //
  18. // READ CAREFULLY:
  19. // I don't give you any permission to copy, modify, merge, publish, distribute,
  20. // sublicense, and/or sell copies of this script.
  21. //
  22. // REQUIREMENTS:
  23. // You will need a gpcaptcha solver:
  24. // LINK => https://greasyfork.org/scripts/461805-gp-captcha-sover/code/GP%20Captcha%20Sover.user.js
  25. //
  26. //
  27. // DESCRIPTION:
  28. // Go to the link below to create an account:
  29. // LINK => https://bithub.win/?r=353615
  30. // Edit lines 42 and 43 with your email and password
  31. //
  32. // If you want to check for updates visit link in line 11
  33. //
  34. // If you want to support my work, visit this shortener: https://cuty.io/SupportMrBug
  35. // THANK YOU FOR YOUR SUPPORT!
  36.  
  37. (function() {
  38. 'use strict';
  39.  
  40. var email = "kenoclarog18@gmail.com" // Type here your email address
  41. var password = "kevenkauan12" // Type here your password
  42.  
  43. let achievements = GM_getValue('achievements')
  44. let viewedptc = GM_getValue('viewedptc')
  45. let ahora = GM_getValue('ahora')
  46.  
  47. GM_setValue('ahora', new Date().getTime())
  48. if(location.hostname == 'bithub.win') {
  49. if (window.location.href.includes("bithub.win/ptc") && !window.location.href.includes("view")) {
  50. setTimeout(function goptc() {
  51. let ahora1 = new Date()
  52. let boton = document.querySelector('button.btn.btn-one')
  53. let noptc = document.querySelector('div.alert-warning')
  54. if (window.location.href.includes("bithub.win/ptc") && boton) {
  55. boton.click()
  56. }
  57. if (window.location.href.includes("bithub.win/ptc") && !boton && ((ahora - achievements > 86400000) || achievements == null)){
  58. GM_setValue('viewedptc', ahora1.getTime())
  59. setTimeout(function() {window.location.href = "https://bithub.win/achievements"}, 2000)
  60. }
  61. else {
  62. GM_setValue('viewedptc', ahora1.getTime())
  63. setTimeout(function() {window.location.href = "https://bithub.win/faucet"}, 2000)
  64. }}, 10000)
  65. }
  66.  
  67. if (window.location.href.includes("bithub.win/achievements")) {
  68. setTimeout(function claimahieve() {
  69. let ahora = new Date()
  70. let boton = document.querySelector("button[type='submit']")
  71. if (window.location.href.includes("bithub.win/achievements") && boton) {
  72. boton.click()
  73. }
  74. if (window.location.href.includes("bithub.win/achievements") && boton && boton.disabled == true) {
  75. GM_setValue('achievements', ahora.getTime())
  76. window.location.href = "https://bithub.win/auto"
  77. }}, 10000)
  78. }
  79.  
  80. setTimeout(function exitauto() {
  81. let noenergy = document.querySelector("div.alert-danger")
  82. if (window.location.href.includes("bithub.win/auto") && noenergy && noenergy.innerText.includes("Enough")) {
  83. window.location.href = "https://bithub.win/faucet"
  84. }
  85. }, 8000)
  86.  
  87. if (window.location.href.includes("bithub.win/ptc/view")) {
  88. let claim = setInterval(function() {
  89. let gpcaptcha = document.querySelector('input#captcha_choosen')
  90. let boton = document.querySelector("button#verify")
  91. let time = document.querySelector("span#ptcCountdown")
  92. if (gpcaptcha && gpcaptcha.value.length > 0 && boton && time && time.innerText == '0 second') {
  93. boton.click()
  94. clearInterval(claim)
  95. }}, 5000)
  96. }
  97.  
  98. if (window.location.href.includes("firewall")) {
  99. let firewall = setInterval(function() {
  100. let gpcaptcha = document.querySelector('input#captcha_choosen')
  101. let boton = document.querySelector("button[type='submit']")
  102. let hcaptcha = document.querySelector('.h-captcha > iframe')
  103. if ((hcaptcha && hcaptcha.hasAttribute('data-hcaptcha-response') && hcaptcha.getAttribute('data-hcaptcha-response').length > 0)
  104. || (gpcaptcha && gpcaptcha.value.length > 0)
  105. || window.grecaptcha.getResponse().length > 0) {
  106. boton.click()
  107. clearInterval(firewall);
  108. }}, 10000)
  109. }
  110.  
  111. if (window.location.href.includes("bithub.win/login")) {
  112. let login = setInterval(function() {
  113. let mailform = document.querySelector('input#email')
  114. let passform = document.querySelector('input#password')
  115. let boton = document.querySelector("button[type='submit']")
  116. if (window.location.href.includes("login") && mailform && passform
  117. && mailform.value!== email && passform.value !== password) {
  118. mailform.value = email
  119. passform.value = password
  120. }
  121. if (window.location.href.includes("login") && boton && grecaptcha.getResponse().length > 0
  122. && mailform.value == email && passform.value == password) {
  123. boton.click()
  124. clearInterval(login)
  125. }}, 5000)
  126. }
  127.  
  128. if (window.location.href.includes("dashboard")) {
  129. setTimeout(function redir() {
  130. window.location.href = "https://bithub.win/faucet"
  131. }, 12000)
  132.  
  133. setTimeout(function redir2() {
  134. if ((ahora - viewedptc > 28800000) || viewedptc == null) {
  135. window.location.href = "https://bithub.win/ptc"
  136. }}, 3000)
  137. }
  138.  
  139. if (window.location.href.includes("bithub.win/faucet")) {
  140. let claim = setInterval(function() {
  141. let gpcaptcha = document.querySelector('input#captcha_choosen')
  142. let boton = document.querySelector("button.claim-button")
  143. if (gpcaptcha && gpcaptcha.value.length > 0 && boton) {
  144. boton.click()
  145. clearInterval(claim)
  146. }}, 5000)
  147.  
  148. setTimeout(function() {
  149. if ((ahora - viewedptc > 28800000) || viewedptc == null) {
  150. window.location.href = "https://bithub.win/ptc"
  151. }}, 3000)
  152.  
  153. setTimeout(function() {
  154. if (((ahora - achievements > 86400000) || achievements == null)){
  155. setTimeout(function() {window.location.href = "https://bithub.win/achievements"}, 2000)
  156. }}, 3000)
  157.  
  158. setTimeout(function() {
  159. window.location.reload()
  160. }, 3*60000 + 20000)
  161. }
  162.  
  163. if (window.location.href == "https://bithub.win/" || window.location.href == "https://bithub.win") {
  164. window.location.href = "https://bithub.win/?r=353615"
  165. }
  166.  
  167. setTimeout(function() {
  168. if (window.location.href == "https://bithub.win/?r=353615") {
  169. window.location.href = "https://ouo.io/NOiT22"
  170. }}, 12000)
  171.  
  172. setInterval(function() {
  173. let ok = document.querySelector("button[type='button'][class='swal2-confirm swal2-styled']")
  174. let oktext = document.querySelector("h2#swal2-title")
  175. let error = document.querySelector("span.swal2-x-mark")
  176. if ((ok && !error) || (ok && error && !window.location.href.includes("withdraw"))) {
  177. ok.click();
  178. }
  179. if (ok && error && window.location.href.includes("withdraw")) {
  180. window.location.replace("https://bithub.win/leaderboard");
  181. }}, 3000) //CLICK OK
  182. }
  183. if (location.hostname == 'ouo.io' || location.hostname == 'ouo.press') {
  184. setTimeout(() => {
  185. (new OuoSolver()).start();
  186. }, rndInt(1000, 3000));
  187. }
  188. // Your code here...
  189. })();