Javgg auto click

javgg.net auto click when ad page to download

10.03.2025 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         Javgg auto click
// @namespace    http://tampermonkey.net/
// @version      0.0.3
// @description  javgg.net auto click when ad page to download
// @match        https://javgg.net/download/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=javgg.net
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // auto click to skip adds
    const clickButton = () => {
        const button =
              document.querySelector("#AD_160")
        if (button) button.click()
        else setTimeout(clickButton, 500)
        console.log(button)
    }
    window.addEventListener("DOMcontentloaded", clickButton())
    //replace blockec button by normal download button
    const nodes = [...document.querySelectorAll(".btndll")];
    nodes.forEach(node=>{
        var link = document.createElement('a');
        link.id = 'link1';
        link.href =node.href;
        link.innerHTML = node.innerHTML
        node.parentNode.insertBefore(link, node);
        node.parentNode.removeChild(node);
    })
})();