Greasy Fork

Greasy Fork is available in English.

PTC Surf

Automatically surfs PTC ads from supported faucet websites

当前为 2023-02-26 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         PTC Surf
// @namespace    VengeanceXBT
// @version      1.0
// @description  Automatically surfs PTC ads from supported faucet websites
// @author       stealtosvra
// @match        https://contentos.one/*
// @match        https://nobitafc.com/*
// @match        https://faucet4u.com/*
// @match        https://claimro.com/*
// @match        https://buxcoin.io/*
// @match        https://bits.re/*
// @match        https://claimcash.cc/*
// @match        https://ziifaucet.com/*
// @match        https://hatecoin.me/*
// @icon         https://ziifaucet.com/assets/images/updatedfavicon.ico
// @grant        GM_xmlhttpRequest
// @grant        GM_setValue
// @grant        GM_getValue
// @license MIT
// ==/UserScript==

(function() {
  'use strict';

  setInterval(function() {
              function isCaptchaChecked() {
              return grecaptcha && grecaptcha.getResponse().length !== 0;}

              if (isCaptchaChecked()) {
                     document.getElementById('verify').click();}}, 5000);

  function clickButton(selector, delay) {
    setTimeout(() => {
      try {
        const button = document.querySelector(selector);
        if (button) {
          button.click();
        }
      } catch (err) {
        console.error(err);
      }
    }, delay);
  }

document.querySelector("button.btn.btn-primary.btn-block").click();

})();