完成驗證後自動點擊 Claim,並每5分鐘自動切換 Faucet 網站
当前为
// ==UserScript==
// @name Faucet Auto Switch & Claim After Verify
// @namespace http://tampermonkey.net/
// @version 1.4
// @description 完成驗證後自動點擊 Claim,並每5分鐘自動切換 Faucet 網站
// @author Alen Lee
// @match https://freexrp.in/*
// @match https://usdpick.io/*
// @match https://FreeTRON.in/*
// @match https://FreeShib.in/*
// @match https://FreeBNB.in/*
// @match https://FreeTonCoin.in/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
const sites = [
"https://usdpick.io/faucet#cpx",
"https://FreeXRP.in/faucet#cpx",
"https://FreeTRON.in/faucet#cpx",
"https://FreeShib.in/faucet#cpx",
"https://FreeBNB.in/faucet#cpx",
"https://FreeTonCoin.in/faucet#cpx"
];
// 把目前網址從清單中找出來的索引
const currentIndex = sites.findIndex(site => window.location.href.includes(site.replace("https://", "")));
// 計算下一個網站的索引
const nextIndex = (currentIndex + 1) % sites.length;
// 5分鐘後導向下一個網站
setTimeout(() => {
window.location.href = sites[nextIndex];
}, 5 * 60 * 1000); // 5分鐘 = 300,000毫秒
})();