dordorkiw

Mencari dia

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         dordorkiw
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Mencari dia
// @author       You
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

function cari() {
        const intervalId = setInterval(function() {
            const tombol = document.getElementById('VerifyBtn');
            if (tombol && tombol.offsetParent !== null) {
                tombol.click();
                clearInterval(intervalId);
            }
        }, 2000);
    }

    window.addEventListener('load', cari);
    
function cari2() {
        const intervalId = setInterval(function() {
            const tombol = document.getElementById('NextBtn');
            if (tombol && tombol.offsetParent !== null) {
                tombol.click();
                clearInterval(intervalId);
            }
        }, 2000);
    }

    window.addEventListener('load', cari2);
    
    
    var targetElement = document.querySelector('.btn.btn-primary.rounded.get-link.xclude-popad');

    // Jika elemen ditemukan, tunggu 1 detik, lalu lakukan redirect
    if (targetElement) {
        setTimeout(function() {
            window.location.href = 'https://doneicikiwir.blogspot.com/?m=1';
        }, 10000); // 1000 milidetik = 1 detik
    }
    
function redirectOnRefresh() {
    if (window.location.hostname === "doneicikiwir.blogspot.com") {
        var redirectURL = "https://gplinks.co/SAGEj";
        if (performance.navigation.type === 1) {
            window.location.href = redirectURL;
        }
    }
}
    redirectOnRefresh();

    
    
if (window.location.hostname === "doneicikiwir.blogspot.com") {
    function findImg() {
        // Mencari elemen img dengan class inserted-btn mtz
        var img = document.querySelector("img.inserted-btn.mtz");
        // Jika elemen img ditemukan
        if (img) {
            // Hentikan pencarian
            clearInterval(interval);
            // Setelah 2 detik
            setTimeout(function() {
                // Klik elemen img
                img.click();
            }, 1000);
        }
    }
    var interval = setInterval(findImg, 1000);
}
       
})();