Greasy Fork

来自缓存

Greasy Fork is available in English.

Nobitafc - ClikSii + OiiSi Bitcotasks V2

Autoshorts!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Nobitafc - ClikSii + OiiSi Bitcotasks V2
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Autoshorts!
// @author       Frohike

// @match        https://nobitafc.com/*
// @match        https://bitcotasks.com/*

// @icon         https://www.google.com/s2/favicons?sz=64&domain=nobitafc.com
// @license      MIT
// @grant        none

// ==/UserScript==

(function() {
    'use strict';
    var mensagemAlvo = "A timeout occurred";
    var urlRedirecionamento = "https://nobitafc.com/*";
    if (document.body.innerText.includes(mensagemAlvo)) {
        window.location.href = urlRedirecionamento;
    }
    var messageDiv = document.createElement('div');
    messageDiv.style.position = 'fixed';
    messageDiv.style.top = '100px'; // Alterado para 20px para o canto superior
    messageDiv.style.left = '20px';
    messageDiv.style.padding = '10px';
    messageDiv.style.backgroundColor = 'red';
    messageDiv.style.color = 'white';
    messageDiv.style.borderRadius = '5px';
    messageDiv.style.zIndex = '9999';
    messageDiv.textContent = 'Nobitafc - ClikSii + OiiSi Bitcotasks V2';
    document.body.appendChild(messageDiv);

   //if (window.location.href.includes("xxxxxxxxxxxxxxx")) {
  if(window.location.href=="https://nobitafc.com/links"){
       window.onload = function() {

  // Sayaç ve yapımcı bilgisi için bir div oluşturma
     var counterDiv = document.createElement('div');
      counterDiv.id = 'counterDiv';
      counterDiv.style.position = 'fixed';
      counterDiv.style.top = '100px';
      counterDiv.style.right = '10px';
      counterDiv.style.padding = '10px';
      counterDiv.style.backgroundColor = 'black';
      counterDiv.style.color = 'white';
      counterDiv.style.fontSize = '20px';
      counterDiv.style.zIndex = '1000';
      document.body.appendChild(counterDiv);
   var countdown = 10;  // 1 dakikadan geriye doğru say
   var countdownInterval = setInterval(function() {
           counterDiv.innerHTML = 'Time remaining: ' + countdown + 's<br>Frohike';
            countdown--;
            if (countdown < 0) {
                clearInterval(countdownInterval);
                //location.reload();  // Sayfa yenileme
            }
        }, 1000);
    };
   }

 function RedirigeShortLinks() {
    if (window.location.href === 'https://nobitafc.com/dashboard') {
       window.location.href = 'https://nobitafc.com/links';
    }
  }
  setInterval(RedirigeShortLinks, 15000);

// Modulo bitcotasks + Cloud
 if (window.location.href.includes("/result/") || window.location.href.includes("bitcotasks")) {
    function verificar() {
     const textoBitcotasks = "SUCCESS";
     if (document.body.innerText.includes(textoBitcotasks)) {
        window.location.href = 'https://nobitafc.com/links';
     }
    }
  setInterval(verificar, 5000);
  }

//Session expired!
 function verificarexpired() {
    const textoexpired = "Session expired";
    if (document.body.innerText.includes(textoexpired)) {
       window.location.href = 'https://nobitafc.com/links';
     }
    }
  setInterval(verificarexpired, 5000);
// FIN DEL Modulo bitcotasks + Cloudflare

  function clicarbitcotasks() {
        setTimeout(function() {
            var botao = document.querySelector('a.btn.btn-primary.waves-effect.waves-light');
            if (botao) {
              botao.click();
            } else {
                console.log('Botão não encontrado.');
            }
        }, 10000);
    }
  clicarbitcotasks();

// Agregar Enlaces Validos
    var palavrasChave = ["oii.si",
                        "OiiSi",
                        "ClikSii",
                        "Clik",
                        "Cliksi",
                        "clik.si",
                        "ClkSh",
                        "Clksh",
                        "AdLinkkk",
                        "link4url",
                        "cashlinks",
                        "AdlinkClickkkkk",
                        "LinkMonetizado",
                        "arlinks",
                        "2linkes",
                        "adlinkclick",
                        "gplinks",
                        "GPlinks",
                        "AdlinkClickk",
                        "Arlinks",
                        "Adlink",
                       // "Gplinks",
                       // "Cuty",
                      //  "Shrinkearn",
                       // "Shrinkme",
                       // "Clk",
                       // "cuty",
                        "xxxxxxxxxxxxxxxxxxxxxxxxx",
                        ];


  function contemPalavraChave(elemento, palavrasChave) {
        for (var i = 0; i < palavrasChave.length; i++) {
            if (elemento.textContent.includes(palavrasChave[i])) {
                return true;
            }
        }
        return false;
    }
    function removerElementosPorPalavraChave() {
        var elementos = document.querySelectorAll('div[class="col-lg-3"]'); // Aqui se pone la class
        elementos.forEach(function(elemento) {
            if (!contemPalavraChave(elemento, palavrasChave)) {
                elemento.remove();
            }
        });
    }
    removerElementosPorPalavraChave();
// Fin de Agregar Enlaces Validos


})();