Automatically views all PTC ads and Rotate websites
当前为
// ==UserScript==
// @name PTC Surf : Vie Faucet Script Websites
// @version 1.3
// @description Automatically views all PTC ads and Rotate 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://claimcash.cc/*
// @match https://ziifaucet.com/*
// @match https://hatecoin.me/*
// @match https://faucetoshi.com/*
// @match https://multicoins.net/*
// @match https://bitsfree.net/*
// @icon https://ziifaucet.com/assets/images/updatedfavicon.ico
// @grant GM_xmlhttpRequest
// @grant GM_setValue
// @grant GM_getValue
// @license MIT
// @namespace VengeanceXBT
// ==/UserScript==
(function() {
'use strict';
// INSERT YOUR CREDENTIALS
const email = "";
const password = "";
const website = window.location.hostname;
const domainParts = website.split(".");
const tld = domainParts.pop();
const domain = domainParts.pop();
const key = `${domain}.${tld}`.replace(/^www\./, "");
function hCaptcha() {
return grecaptcha && grecaptcha.getResponse().length !== 0;}
if (window.location.pathname === '/' && window.location.search === '') {
window.location.replace(`https://${key}/login`);
}
setInterval(function() {
if (document.querySelector("#email")) {
document.querySelector("#email").value = email;}
if (document.querySelector("#password")) {
document.querySelector("#password").value = password;}}, 1000);
setInterval(function() {
if (hCaptcha()) {
if (document.querySelector("button[type='submit']")) {
document.querySelector("button[type='submit']").click();}}}, 6000);
if(window.location.href.includes(`https://${key}/dashboard`)) {
window.location.replace(`https://${key}/ptc`);}
const ptcLinks = [
{
currentUrl: "https://contentos.one/ptc",
redirectUrl: "https://nobitafc.com/ptc"
},
{
currentUrl: "https://nobitafc.com/ptc",
redirectUrl: "https://faucet4u.com/ptc"
},
{
currentUrl: "https://faucet4u.com/ptc",
redirectUrl: "https://claimro.com/ptc"
},
{
currentUrl: "https://claimro.com/ptc",
redirectUrl: "https://ziifaucet.com/ptc"
},
{
currentUrl: "https://ziifaucet.com/ptc",
redirectUrl: "https://claimcash.cc/ptc"
},
{
currentUrl: "https://claimcash.cc/ptc",
redirectUrl: "https://hatecoin.me/ptc"
},
{
currentUrl: "https://hatecoin.me/ptc",
redirectUrl: "https://faucetoshi.com/ptc"
},
{
currentUrl: "https://faucetoshi.com/ptc",
redirectUrl: "https://multicoins.net/ptc"
},
{
currentUrl: "https://multicoins.net/ptc",
redirectUrl: "https://bitsfree.net/ptc"
},
{
currentUrl: "https://bitsfree.net/ptc",
redirectUrl: "https://buxcoin.io/ptc"
}
];
function redirectAfterDelay(url) {
setTimeout(function () {
window.location.href = url;
}, 30000);
}
const currentUrl = window.location.href;
const nextLink = ptcLinks.find(link => link.currentUrl === currentUrl);
if (nextLink) {
redirectAfterDelay(nextLink.redirectUrl);
}
setInterval(function() {
if (hCaptcha()) {
document.getElementById('verify').click();}}, 5000);
if(window.location.href.includes("https://faucetoshi.com/ptc/view/")) {
$("iframe").remove();
var verify = setInterval( function() {
if( $("#verify").is(":visible") ) {
clearInterval( verify );
setTimeout( function() {
$("form:first").submit();
}, ( 2000 ) );
}
}, 2000 );}
document.querySelector("button.btn.btn-primary.btn-block").click();
})();