`);
// Save Faucetpay Email function
unsafeWindow.saveFaucetpayEmail = function () {
var faucetpayEmail = document.getElementById('faucetpayEmail').value;
GM_setValue('faucetpayEmail', faucetpayEmail);
alert('Faucetpay Email saved successfully!');
};
// Create an event listener for the Settings button to input saved email
document.getElementById('settingsButton').addEventListener('click', function() {
// Retrieve Faucetpay Email and pre-fill the input field
var savedFaucetpayEmail = GM_getValue('faucetpayEmail', '');
var faucetpayEmailInput = document.getElementById('faucetpayEmail');
if (savedFaucetpayEmail !== '' && faucetpayEmailInput !== null) {
faucetpayEmailInput.value = savedFaucetpayEmail;
}
});
// Create About button
createButton('aboutButton', 'About', `
About Faucet Monitor with Faucetpay Rotator
Faucet Monitor with Faucetpay Rotator is a sophisticated tool meticulously crafted to streamline faucet management and rotation processes for cryptocurrency enthusiasts.
Key Features:
Faucet Management: Effortlessly manage and monitor multiple faucets and rotator sites from a unified interface.
Rotator Functionality: Access a curated list of Faucetpay rotator sites, enabling seamless rotation and utilization of various faucets.
Customization: Activate or deactivate specific faucets based on your preferences, offering unparalleled flexibility and control over your faucet experience.
Requirements Overview: Gain insights into optimal faucet usage requirements, including CAPTCHA solutions and antibot measures.
Save Preferences: Store your Faucetpay email address for seamless integration and management of faucet rewards.
Advertisement Section: Explore additional earning opportunities through featured advertisements and offers.
About Section: Learn more about the Faucet Monitor tool and its developer, Andrewblood, through the informative About section.
Experience enhanced efficiency and convenience in your cryptocurrency faucet endeavors with Faucet Monitor with Faucetpay Rotator.
About the Scripts:
Auto-Reload Script: This script periodically checks various URLs on specific websites to determine if certain conditions are met, such as having sufficient funds or reaching the daily claim limit. If conditions are met, it automatically reloads the page and saves the respective URLs and timestamps for later use.
Freebitco Script: This script automates certain actions on the Freebitco.in website, including rolling, checking for bonuses, and other tasks to earn reward points.
Dutchycorp Script: This script automates various actions on the Dutchycorp Autofaucet website, including rolling, checking captchas, and other tasks to earn rewards.
CFfaucets Script: This script automates redirection to various faucet websites and performs some actions to earn rewards.
`);
// Close overlay when clicking outside of it
window.addEventListener('click', function(event) {
var overlay = document.getElementById('overlay');
if (event.target == overlay) {
overlay.style.display = 'none';
}
});
// Create overlay
var overlay = document.createElement('div');
overlay.id = 'overlay';
var overlayContent = document.createElement('div');
overlayContent.id = 'overlay-content';
overlay.appendChild(overlayContent);
document.body.appendChild(overlay);
var currentURL = new URL(window.location.href).origin;
// Freebitco.in
if (GM_getValue(currentURL) && window.location.href.includes("freebitco.in")) {
function isCaptchaChecked() {
return hcaptcha && hcaptcha.getResponse().length !== 0;
}
if(window.location.href.includes("https://freebitco.in/signup/?op=s")) {
if(window.location.href != ("https://freebitco.in/signup/?op=s&r=3595810")) {
window.location.replace("https://freebitco.in/signup/?op=s&r=3595810");
}
}
if(window.location.href === ("https://freebitco.in/") || window.location.href === ("https://freebitco.in/?op=home") || window.location.href === ("https://freebitco.in/#")) {
if (document.querySelector("#free_play_form_button").style.display == "none"){
console.log("Wait for next Roll.");
setTimeout(function() {
window.close();
}, 1000*30);
}
else
{
if (document.querySelector("#free_wof_spins_msg > a:nth-child(3)")){
console.log("Make the WoF Spins.");
window.open("https://freebitco.in/static/html/wof/wof-premium.html");
}
console.log("Let's look for Bonus");
document.querySelector("body > div.large-12.fixed > div > nav > section > ul > li:nth-child(8) > a").click();
document.querySelector("#rewards_tab > div.row.reward_category_container_main_div > div > div:nth-child(4) > div.reward_category_name").click();
setTimeout(function() {
var yourrwp = parseFloat(document.querySelector("#rewards_tab > div:nth-child(2) > div > div.reward_table_box.br_0_0_5_5.user_reward_points.font_bold").innerText.replace(/,/, ''))
console.log("Your current Reward Points are:");
console.log(yourrwp);
var bonuscost = parseFloat(document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div.large-6.small-12.columns > div").innerText.replace(/,/, ''))
console.log("The Price for 1000% BTC-Bonus is:");
console.log(bonuscost);
if (yourrwp > bonuscost){
document.querySelector("#fp_bonus_rewards > div:nth-child(2) > div:nth-child(2) > div:nth-child(3) > button").click();
}
else
{
console.log("Your balance is too low to buy.");
}
document.querySelector("#free_play_link_li > a").click();
}, 1000*5);
// Make the Roll
setTimeout(function() {
if (document.querySelector("#anchor")){
console.log("Wait for Captcha and.....");
if (isCaptchaChecked()) {
document.querySelector("#free_play_form_button").click();
setTimeout(function() {
window.close();
}, 1000*30);
}
}
else
{
document.querySelector("#free_play_form_button").click();
setTimeout(function() {
window.close();
}, 1000*10);
}
}, 1000*10);
}
}
if (window.location.href.includes("https://freebitco.in/static/html/wof/wof-premium.html")) {
setTimeout(function() {
document.querySelector("#wofc-section > div > div.wofc-spins > p > button:nth-child(2)").click();
}, 1000*10);
setTimeout(function() {
window.close();
}, 1000*30);
}
}
// Dutchycorp
if (GM_getValue(currentURL) && window.location.href.includes("dutchycorp")) {
function isCaptchaChecked() {
return grecaptcha && grecaptcha.getResponse().length !== 0;
}
function visibleCheck(elm) {
if (!elm.offsetHeight && !elm.offsetWidth) { return false; }
if (getComputedStyle(elm).visibility === 'hidden') { return false; }
return true;
}
if (window.location.href == "https://autofaucet.dutchycorp.space/signup.php") {
if (window.location.href != "https://autofaucet.dutchycorp.space/signup.php?r=Andrewblood&s=Script") {
window.location.replace("https://autofaucet.dutchycorp.space/signup.php?r=Andrewblood&s=Script");
}
}
if (window.location.href.indexOf('login') === -1 && window.location.href.indexOf('register') === -1) {
var isRecaptchaEnabled = GM_getValue('recaptchaStatus');
if (isRecaptchaEnabled) {
runScript();
} else {
if (window.location.href !== 'https://autofaucet.dutchycorp.space/account.php') {
window.location.href = 'https://autofaucet.dutchycorp.space/account.php';
} else {
document.querySelector("#methods > form > font > form:nth-child(16) > div > input").click();
var selectElement = document.querySelector('select[name="captcha"]');
if (selectElement) {
var options = selectElement.options;
for (var i = 0; i < options.length; i++) {
if (options[i].value === '3') {
options[i].selected = true;
var event = new Event('change');
selectElement.dispatchEvent(event);
break;
}
}
}
var updateButton = document.querySelector('button[name="change-captcha"]');
updateButton.click();
GM_setValue('recaptchaStatus', 'enabled');
}
}
function runScript() {
setTimeout(function(){
location.reload();
}, 180000);
if (window.location.href.includes("https://autofaucet.dutchycorp.space/account.php")) {
window.location.replace("https://autofaucet.dutchycorp.space/dashboard.php");
}
if (window.location.href == "https://autofaucet.dutchycorp.space/dashboard.php") {
window.location.replace("https://autofaucet.dutchycorp.space/roll.php");
}
if (window.location.href.includes("https://autofaucet.dutchycorp.space/roll.php")) {
if (!document.querySelector("#timer")) {
setInterval(function() {
if (isCaptchaChecked()) {
if (document.querySelector(".boost-btn.unlockbutton")) {
document.querySelector(".boost-btn.unlockbutton").click();
}
if (visibleCheck(document.querySelector("#claim_boosted"))) {
document.querySelector("#claim_boosted").click();
}
}
}, 5000);
} else {
setTimeout(function() {
window.location.replace("https://autofaucet.dutchycorp.space/coin_roll.php");
}, 5000);
}
}
if (window.location.href.includes("https://autofaucet.dutchycorp.space/coin_roll.php")) {
if (!document.querySelector("#timer")) {
setInterval(function() {
if (isCaptchaChecked()) {
if (document.querySelector(".boost-btn.unlockbutton")) {
document.querySelector(".boost-btn.unlockbutton").click();
}
if (visibleCheck(document.querySelector("#claim_boosted"))) {
document.querySelector("#claim_boosted").click();
}
}
}, 5000);
} else {
setTimeout(function() {
window.location.replace("https://autofaucet.dutchycorp.space/ptc/wall.php");
}, 5000);
}
}
if (window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/wall.php")) {
var wallLink = document.querySelectorAll(".col.s10.m6.l4 a[name='claim']");
if (wallLink.length >= 1) {
wallLink[0].style.backgroundColor = "red";
let match = wallLink[0].onmousedown.toString().match(/'href', '(.+)'/);
let hrefValue = match[1];
setTimeout(function() {
window.location.replace("https://autofaucet.dutchycorp.space" + hrefValue);
}, 5000);
} else {
setTimeout(function() {
window.location.replace("https://autofaucet.dutchycorp.space/ptc/");
}, 5000);
}
}
if (window.location.href.includes("https://autofaucet.dutchycorp.space/ptc/view")) {
setInterval(function() {
if (document.querySelector("#sec").innerText === 'Payout in 0 seconds') {
document.getElementsByClassName("g-recaptcha bordeaux-btn btn-small waves-effect waves-red")[0].click();
setTimeout(function() {
console.log("Wait for Captcha");
}, 30000);
} else {
console.log("Wait on timer.");
}
}, 5000);
}
if (window.location.href == "https://autofaucet.dutchycorp.space/ptc/") {
setInterval(function() {
if (document.querySelector("body > div.col.s12 > div.row > div.col.s12.m12.l10 > center:nth-child(1) > h4")) {
if (document.querySelector("body > div.col.s12 > div.row > div.col.s12.m12.l10 > center:nth-child(1) > h4").innerText == ' All Available Ads Watched') {
window.close();
}
} else if (visibleCheck(document.getElementsByClassName("g-recaptcha gradient-btn btn-small waves-effect waves-purple")[0])) {
document.getElementsByClassName("g-recaptcha gradient-btn btn-small waves-effect waves-purple")[0].click();
} else {
console.log("Wait on timer.");
}
}, 5000);
}
}
}
}
// CF Faucets
if (GM_getValue(currentURL) && (window.location.href.includes("freebitcoin") ||
window.location.href.includes("freebinancecoin") ||
window.location.href.includes("free-doge") ||
window.location.href.includes("freeusdcoin") ||
window.location.href.includes("freecryptom") ||
window.location.href.includes("free-ltc") ||
window.location.href.includes("freedash") ||
window.location.href.includes("freeneo") ||
window.location.href.includes("freecardano") ||
window.location.href.includes("freebfg") ||
window.location.href.includes("freepancake") ||
window.location.href.includes("freebittorrent") ||
window.location.href.includes("coinfaucet") ||
window.location.href.includes("freematic") ||
window.location.href.includes("freetether") ||
window.location.href.includes("freesteam") ||
window.location.href.includes("freenem") ||
window.location.href.includes("freeshibainu") ||
window.location.href.includes("free-tron") ||
window.location.href.includes("freeethereum"))) {
if(window.location.href == ("https://freebitcoin.io/")){
if(window.location.href != ("https://freebitcoin.io/?ref=804096")){
window.location.replace("https://freebitcoin.io/?ref=804096")
}
}
if(window.location.href == ("https://freebinancecoin.com/")){
if(window.location.href != ("https://freebinancecoin.com/?ref=418938")){
window.location.replace("https://freebinancecoin.com/?ref=418938")
}
}
if(window.location.href === ("https://free-doge.com/")){
if(window.location.href !== ("https://free-doge.com/?ref=334834")){
window.location.replace("https://free-doge.com/?ref=334834")
}
}
if(window.location.href == ("https://freeusdcoin.com/")){
if(window.location.href != ("https://freeusdcoin.com/?ref=237334")){
window.location.replace("https://freeusdcoin.com/?ref=237334")
}
}
if(window.location.href == ("https://freecryptom.com/")){
if(window.location.href != ("https://freecryptom.com/?ref=145077")){
window.location.replace("https://freecryptom.com/?ref=145077")
}
}
if(window.location.href == ("https://free-ltc.com/")){
if(window.location.href != ("https://free-ltc.com/?ref=278353")){
window.location.replace("https://free-ltc.com/?ref=278353")
}
}
if(window.location.href == ("https://freedash.io/")){
if(window.location.href != ("https://freedash.io/?ref=241665")){
window.location.replace("https://freedash.io/?ref=241665")
}
}
if(window.location.href == ("https://freeneo.io/")){
if(window.location.href != ("https://freeneo.io/?ref=172683")){
window.location.replace("https://freeneo.io/?ref=172683")
}
}
if(window.location.href == ("https://freecardano.com/")){
if(window.location.href != ("https://freecardano.com/?ref=495783")){
window.location.replace("https://freecardano.com/?ref=495783")
}
}
if(window.location.href == ("https://freebfg.com/")){
if(window.location.href != ("https://freebfg.com/?ref=34816")){
window.location.replace("https://freebfg.com/?ref=34816")
}
}
if(window.location.href == ("https://freepancake.com/")){
if(window.location.href != ("https://freepancake.com/?ref=63758")){
window.location.replace("https://freepancake.com/?ref=63758")
}
}
if(window.location.href == ("https://freebittorrent.com/")){
if(window.location.href != ("https://freebittorrent.com/?ref=33463")){
window.location.replace("https://freebittorrent.com/?ref=33463")
}
}
if(window.location.href == ("https://coinfaucet.io/")){
if(window.location.href != ("https://coinfaucet.io/?ref=966105")){
window.location.replace("https://coinfaucet.io/?ref=966105")
}
}
if(window.location.href == ("https://freematic.com/")){
if(window.location.href != ("https://freematic.com/?ref=102515")){
window.location.replace("https://freematic.com/?ref=102515")
}
}
if(window.location.href == ("https://freetether.com/")){
if(window.location.href != ("https://freetether.com/?ref=353801")){
window.location.replace("https://freetether.com/?ref=353801")
}
}
if(window.location.href == ("https://freesteam.io/")){
if(window.location.href != ("https://freesteam.io/?ref=190554")){
window.location.replace("https://freesteam.io/?ref=190554")
}
}
if(window.location.href == ("https://freenem.com/")){
if(window.location.href != ("https://freenem.com/?ref=367461")){
window.location.replace("https://freenem.com/?ref=367461")
}
}
if(window.location.href == ("https://freeshibainu.com/")){
if(window.location.href != ("https://freeshibainu.com/?ref=206136")){
window.location.replace("https://freeshibainu.com/?ref=206136")
}
}
if(window.location.href == ("https://free-tron.com/")){
if(window.location.href != ("https://free-tron.com/?ref=526291")){
window.location.replace("https://free-tron.com/?ref=526291")
}
}
if(window.location.href == ("https://freeethereum.com/")){
if(window.location.href != ("https://freeethereum.com/?ref=430971")){
window.location.replace("https://freeethereum.com/?ref=430971")
}
}
setInterval(function() {
if (window.location.href.includes("free-rolls")) {
setTimeout(function(){
window.location.replace("promotion/csw1td1eqp");
}, 5000);
}
}, 1000);
if (window.location.href.includes("csw1td1eqp")){
setTimeout(function() {
document.location.reload();
}, 120000);
setInterval(function(){
if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
{
window.location.replace("q5rlm6ot3r")
}
else
{
console.log("Captcha is not solved yet, next check in 3 seconds.");
}
}, 3000)
}
if (window.location.href.includes("q5rlm6ot3r")){
setTimeout(function() {
document.location.reload();
}, 120000);
setInterval(function(){
if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
{
window.location.replace("ki2r0jq5r0")
}
else
{
console.log("Captcha is not solved yet, next check in 3 seconds.");
}
}, 3000)
}
if (window.location.href.includes("ki2r0jq5r0")){
setTimeout(function() {
document.location.reload();
}, 120000);
setInterval(function(){
if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
{
window.location.replace("n6kr3x7p5u")
}
else
{
console.log("Captcha is not solved yet, next check in 3 seconds.");
}
}, 3000)
}
if (window.location.href.includes("n6kr3x7p5u")){
setTimeout(function() {
document.location.reload();
}, 120000);
setInterval(function(){
if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
{
window.location.replace("5g57e0vksm")
}
else
{
console.log("Captcha is not solved yet, next check in 3 seconds.");
}
}, 3000)
}
if (window.location.href.includes("5g57e0vksm")){
setTimeout(function() {
document.location.reload();
}, 120000);
setInterval(function(){
if (document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-error.my-8 > div") || document.querySelector("#__nuxt > div > div > main > div > div > div.p-message.p-component.p-message-success.my-8 > div"))
{
window.close()
}
else
{
console.log("Captcha is not solved yet, next check in 3 seconds.");
}
}, 3000)
}
}
// Rollercoin
if (GM_getValue(currentURL) && window.location.href.includes("rollercoin")) {
GM_addStyle(`
.overlay-container {
position: fixed;
bottom: 10px;
right: 10px;
width: 300px;
height: 200px; /* Erhöhen Sie die Höhe, um Platz für das Eingabefeld zu schaffen */
background-color: rgba(255, 255, 255, 0.8);
z-index: 9999;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
}
.dropdown {
position: relative;
display: inline-block;
margin-top: 10px;
}
.dropbtn {
background-color: #4CAF50;
color: white;
padding: 10px;
font-size: 14px;
border: none;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
max-height: 120px; /* Setzen Sie die maximale Höhe des Dropdowns */
overflow-y: auto; /* Fügen Sie Scrollbar hinzu, wenn Inhalt größer als die maximale Höhe ist */
min-width: 200px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
padding: 5px;
top: calc(100% + 10px); /* Positionieren Sie das Dropdown-Menü unterhalb des Buttons */
left: 50%; /* Zentrieren Sie das Dropdown-Menü horizontal */
transform: translateX(-50%); /* Zentrieren Sie das Dropdown-Menü horizontal */
}
.dropdown-content span {
color: black;
font-weight: bold;
padding: 5px 10px;
display: block;
}
.dropdown-content a {
color: #0000EE; /* Blaue Schrift für die anderen Links */
padding: 5px 10px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
}
.price-input {
margin-top: 10px;
width: 80%; /* Passen Sie die Breite des Eingabefelds nach Bedarf an */
padding: 5px;
font-size: 14px;
}
.save-price-button {
margin-top: 10px;
padding: 10px;
font-size: 14px;
cursor: pointer;
background-color: #008CBA;
color: white;
border: none;
border-radius: 5px;
}
`);
// HTML für das Overlay und das Dropdown-Menü einfügen
var overlayContainer = document.createElement('div');
overlayContainer.className = 'overlay-container';
var dropdownContainer = document.createElement('div');
dropdownContainer.className = 'dropdown';
var dropdownButton = document.createElement('button');
dropdownButton.className = 'dropbtn';
dropdownButton.textContent = 'Choose Product';
var dropdownContent = document.createElement('div');
dropdownContent.className = 'dropdown-content';
dropdownContent.innerHTML = `
MinersRollerArc S1RollerMiner G1
`;
var priceInput = document.createElement('input');
priceInput.className = 'price-input';
priceInput.setAttribute('type', 'text');
priceInput.setAttribute('placeholder', 'Enter price (RLT)');
var savePriceButton = document.createElement('button');
savePriceButton.className = 'save-price-button';
savePriceButton.textContent = 'Save Buy Price';
dropdownContainer.appendChild(dropdownButton);
dropdownContainer.appendChild(dropdownContent);
overlayContainer.appendChild(dropdownContainer);
overlayContainer.appendChild(priceInput); // Fügen Sie das Eingabefeld hinzu
overlayContainer.appendChild(savePriceButton); // Fügen Sie den "Save Price" Button hinzu
document.body.appendChild(overlayContainer);
// Laden Sie den gespeicherten Preis, falls vorhanden
var savedPrice = GM_getValue(window.location.href);
if (savedPrice) {
priceInput.value = savedPrice;
}
// Dropdown-Menü anzeigen/verstecken beim Klick auf den Button
dropdownButton.addEventListener('click', function() {
dropdownContent.style.display = dropdownContent.style.display === 'block' ? 'none' : 'block';
});
// Event Listener für das Klicken auf den "Save Price" Button
savePriceButton.addEventListener('click', function() {
var priceValue = priceInput.value.trim();
GM_setValue(window.location.href, priceValue); // Speichern Sie den Preis mit GM_setValue
alert('Price saved successfully!');
});
if (window.location.href == ("https://rollercoin.com/")){
window.location.replace("https://rollercoin.com/?r=llfv26zk");
}
if (window.location.href.includes("https://rollercoin.com/sign-up")){
if (window.location.href =! ("https://rollercoin.com/sign-up?r=llfv26zk")){
window.location.replace("https://rollercoin.com/sign-up?r=llfv26zk");
}
}
// Funktion, um den Preis zu überwachen und Aktionen auszuführen
function monitorPrice() {
var savedPrice = parseFloat(GM_getValue(window.location.href)); // Gespeicherter Preis
if (savedPrice <= 0 || isNaN(savedPrice)) {
console.error("Invalid or missing saved price.");
return; // Wenn kein gültiger Preis gespeichert ist, beende die Funktion
}
console.log("Saved price:", savedPrice);
setTimeout(function () {
location.reload();
}, 60000);
var priceInterval = setInterval(function() {
var itemPriceElement = document.querySelector(".item-price"); // Element, das den aktuellen Preis enthält
if (itemPriceElement) {
var currentPriceText = itemPriceElement.innerText; // Aktueller Preis als Text
var currentPrice = parseFloat(currentPriceText.split(" ")[0]); // Extrahiere den Preis aus dem Text
console.log("Current price:", currentPrice);
if (!isNaN(currentPrice) && currentPrice > 0 && currentPrice < savedPrice) {
clearInterval(priceInterval); // Stoppe die Überwachung, wenn der Preis niedriger ist
console.log("Price is lower than the saved price. Buying...");
// Klicke auf den "Buy" Button
var buyButton = document.querySelector(".item-info-buy-wrapper.col-12.col-lg-4 > button > div");
if (buyButton) {
buyButton.click();
console.log("Clicked on the 'Buy' button.");
setTimeout(function() {
// Klicke auf den Bestätigungsbutton im Modal
var confirmButton = document.querySelector(".modal.fade.show > div > div > div > div > button.roller-button.default.cyan > div");
if (confirmButton) {
confirmButton.click();
console.log("Clicked on the confirmation button.");
setTimeout(function () {
location.reload();
}, 5000);
} else {
console.error("Confirmation button not found.");
}
}, 1000); // Warte 1 Sekunde, bevor du auf den Bestätigungsbutton klickst
} else {
console.error("Buy button not found.");
}
}
} else {
console.error("Item price element not found.");
}
}, 1000); // Überwache den Preis alle 1 Sekunde
}
// Rufe die Funktion zum Überwachen des Preises auf
monitorPrice();
}
var currentPageUrl = window.location.href
if (faucetpayurls.includes(currentPageUrl) || window.location.href.includes("?r=m.warchol@gmx.at")) {
function isElementVisible(selector) {
var element = document.querySelector(selector);
return element && element.offsetWidth > 0 && element.offsetHeight > 0;
}
function clickButton(selector) {
var button = document.querySelector(selector);
if (button) {
button.click();
}
}
setTimeout(function () {
location.reload();
}, 330000);
var indexOfRParameter = currentPageUrl.indexOf("?r=");
if (indexOfRParameter !== -1) {
currentPageUrl = currentPageUrl.substring(0, indexOfRParameter);
}
var selector1 = ".alert.alert-danger.fade.show";
if (isElementVisible(selector1) && document.querySelector(selector1)?.innerText === ' The faucet does not have sufficient funds for this transaction.') {
var reason1 = 'sufficient funds';
var timestamp1 = new Date(new Date().getTime() + 24 * 60 * 60 * 1000).toISOString().slice(0, 19).replace('T', ' ');
saveUrl(currentPageUrl, timestamp1, reason1);
}
var selector2 = ".alert.alert-danger.fade.show";
if (isElementVisible(selector2) && document.querySelector(selector2)?.innerText === ' Your daily claim limit has been reached. Please come back in tomorrow.') {
var reason2 = 'daily claim limit';
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + 1);
tomorrow.setHours(2, 0, 0, 0);
var timestamp2 = tomorrow.toISOString().slice(0, 19).replace('T', ' ');
saveUrl(currentPageUrl, timestamp2, reason2);
}
function saveUrl(url, timestamp, reason) {
var urlWithTimestamp = { url: url, timestamp: timestamp, reason: reason };
var existingUrlIndex = storedUrls.findIndex(function (storedUrl) {
return storedUrl.url === url;
});
if (existingUrlIndex !== -1) {
storedUrls[existingUrlIndex].timestamp = timestamp;
storedUrls[existingUrlIndex].reason = reason;
} else {
storedUrls.push(urlWithTimestamp);
}
GM_setValue('storedUrls', storedUrls);
}
if ((isElementVisible(".alert.alert-success.fade.show") &&
document.querySelector(".alert.alert-success.fade.show").innerText.includes('satoshi')) ||
(isElementVisible(".alert.alert-danger.fade.show") &&
document.querySelector(".alert.alert-danger.fade.show").innerText === ' The faucet does not have sufficient funds for this transaction.') ||
(isElementVisible(".alert.alert-danger.fade.show") &&
document.querySelector(".alert.alert-danger.fade.show").innerText === ' Session invalid, try again') ||
(isElementVisible(".alert.alert-danger.fade.show") &&
document.querySelector(".alert.alert-danger.fade.show").innerText === ' Your daily claim limit has been reached. Please come back in tomorrow.')) {
function checkAndConnectNextUrl() {
var currentUrl = window.location.href.includes('?r=') ? window.location.href.split('?r=')[0] : window.location.href;
console.log("Current URL:", currentUrl);
var currentIndex = faucetpayurls.indexOf(currentUrl);
console.log("Current Index:", currentIndex);
var validUrlFound = false;
for (var i = currentIndex + 1; i < currentIndex + faucetpayurls.length; i++) {
var nextUrl = faucetpayurls[i % faucetpayurls.length];
console.log("Checking next URL:", nextUrl);
var storedUrlInfo = storedUrls.find(function (storedUrl) {
return storedUrl.url === nextUrl;
});
console.log("Stored URL Info:", storedUrlInfo);
if (!storedUrlInfo || new Date() > new Date(storedUrlInfo.timestamp)) {
console.log("Connecting to the next valid URL:", nextUrl);
window.location.href = nextUrl;
validUrlFound = true;
break;
}
}
if (!validUrlFound) {
alert("All sites are empty or daily limit reached. Please start the script tomorrow again. You can also change the Faucetpay E-Mail and set all a new time Active");
}
}
checkAndConnectNextUrl();
} else {
var currentURL = window.location.href;
var referralCode = '?r=m.warchol@gmx.at';
if (!currentURL.includes(referralCode)) {
currentURL += referralCode;
window.location.href = currentURL;
} else {
var faucetpayEmailInput = document.querySelector("#address");
if (faucetpayEmailInput) {
var storedEmail = GM_getValue('faucetpayEmail', '');
faucetpayEmailInput.value = storedEmail;
var loginbutton = document.querySelectorAll('button[data-target="#captchaModal"]');
loginbutton[0].click();
if (document.querySelector("#captchaModal").innerText.includes('AntiBot links')) {
var intervalId = setInterval(function() {
var antibotLinksValue = document.querySelector("#antibotlinks").value.length;
var recaptchaResponseValue = document.querySelector("#g-recaptcha-response").value.length;
if (antibotLinksValue > 1 && recaptchaResponseValue > 1) {
clearInterval(intervalId);
clickButton("#login");
}
}, 1000);
} else {
var intervalId2 = setInterval(function() {
var recaptchaResponseValue = document.querySelector("#g-recaptcha-response").value.length;
if (recaptchaResponseValue > 1) {
clearInterval(intervalId2);
clickButton("#login");
}
}, 1000);
}
}
}
}
}
})();