مۇنازىرىلەر » قۇرۇش تەلىپى

Help with adbtc script, please.

§
يوللانغان ۋاقتى: 2021-07-28

Hello again. I have a script for the adbtc.top site(I don't remember where I got it, probably somewhere on reddit). It worked smoothly for a long time, but then they changed something on the site (I guess they made css classes of the "open" buttons random) and it stoppped working. Can someone, who understands scripts and also uses the site fix the script, please? Basically it works like this: On the surf page there is a captcha, after solving it the "open" button appears and the script should automatically open it. After the ad is over, another ad is loaded by the site, so the script just clicks on the "open" button again etc... until the captcha stops this process (after 3-5 ads.) Here is the current (old) script which I have - doesn't work, cuz it doesn't recognize those new buttons.


// ==UserScript==
// @icon         https://adbtc.top/favicon.ico
// @name         Adbtc.top Script
// @namespace    testing
// @description  Register https://ref.adbtc.top/ - Login and start to earn bitcoins
// @version      1.0.1
// @author       frk
// @match        https://adbtc.top/surf/*
// @match        https://adltc.cc/surf
// @require      https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js
// ==/UserScript==

(function() {
    if ((document.documentElement.textContent || document.documentElement.innerText).indexOf('Please solve the mathematical expression') == -1)
    {
        setTimeout( function(){
            $('.valign-wrapper.btn')[0].click();
            console.log('open');
        }, 1000);
        setInterval( function(){
            var title = $(document).find("title").text();
            if(title.startsWith(" You earned"))
            {
                location.href = location.href;
            }
        }, 1000);
    }
    else
    {
        load();
        alert('Solve the mathematical expression');
        $('#captcha').focus();
    }  
})();

Thank you!

Deleted user 767752
§
يوللانغان ۋاقتى: 2022-01-09

Please have a look at this script.

https://greasyfork.org/en/scripts/431917-multi-ptc-cryptorotator

Thank you

§
يوللانغان ۋاقتى: 2022-01-09

Sounds like the same thing I did for you a while ago.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.