AUTOCLICK "Continue" OF "Please disable your ad-block." Popup

automatic click "Continue" for "Please disable your ad-block." Popup

23.05.2024 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         AUTOCLICK "Continue" OF "Please disable your ad-block." Popup
// @namespace    
// @version      2024-05-24
// @description
// @author       Beginner[2023]
// @match        https://idol.sankakucomplex.com/*
// @match        https://chan.sankakucomplex.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=sankakucomplex.com
// @grant       none
// @license MIT
// @description automatic click  "Continue" for "Please disable your ad-block." Popup
// ==/UserScript==

(function() {
    'use strict';

    var disAdBlockPopupisActive = false

    function disAdBlockPopup() {
        let center_sec_class = document.getElementsByClassName('center secondary');

        if (center_sec_class.length == "1") {
            console.log(center_sec_class[0]);
            console.log('onclick = ' +center_sec_class[0].hasAttribute("name"))
            console.log('onclick = ' +center_sec_class[0].hasAttribute("onclick"))

            if(center_sec_class[0].hasAttribute("name") & center_sec_class[0].hasAttribute("onclick")) {
                center_sec_class[0].click();

                disAdBlockPopupisActive = true;
            }

        }
    }

    let detectDisadblockPop = setInterval(disAdBlockPopup,300);

    setInterval(function(){
        if (disAdBlockPopupisActive != false) {
            clearInterval(detectDisadblockPop);
        }
    },500)

})();