Bitverts.io

Sign up: https://anon.to/IQDshu - Login, Click "View PTC Ads", Bot starts, sometime you have to complete a recaptcha code

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Bitverts.io
// @icon         http://bitverts.io/template/default/assets/img/favicons/favicon.png
// @namespace    helpercoins.blogspot.com
// @version      1
// @description  Sign up: https://anon.to/IQDshu - Login, Click "View PTC Ads", Bot starts, sometime you have to complete a recaptcha code
// @author       Helpercoins.blogspot.com
// @match        http://bitverts.io/*
// ==/UserScript==

(function() {
    'use strict';
    
    // bitcoin = 1, ethereum = 2, litecoin = 3, bitcoin cash = 4
    var coin = 3;  // change the number to the coin
    if(window.location.href.indexOf("see?ptc&v=") > -1) {
        var i = setInterval( function() {
            if(document.documentElement.innerText.indexOf('Success') > -1 || document.documentElement.innerText.indexOf('Error! Invalid Captcha.') > -1) {
                setTimeout( function(){
                    location.href = "http://bitverts.io/see-ads?b=" + coin;
                }, 1000);
            } else if(document.documentElement.innerText.indexOf('Please complete the captcha before you can get credited.') > -1) {
                alert('Captcha');
                clearInterval(i);
                setInterval( function() {
                    if(document.documentElement.innerText.indexOf('Success') > -1 || document.documentElement.innerText.indexOf('Error! Invalid Captcha.') > -1) {
                        setTimeout( function(){
                            location.href = "http://bitverts.io/see-ads?b=" + coin;
                        }, 1000);
                    }
                }, 1000);
            }
        }, 1000);
    } else if(window.location.href.indexOf("see-ads") > -1) {
        var loc = parseInt(window.location.href.split('=')[1]);
        if(loc !== coin) {
            location.href = "http://bitverts.io/see-ads?b=" + coin;
        } else {
            var ads =  $('.block-content.block-content-full').find('[id*=ad].col-md-3').not('#ad').find('a').not('.fc-state-disabled');

            if(ads.length !== 0) {
                ads.first().addClass('fc-state-disabled');
                console.log(ads.first().attr('href'));
                var win = window.open(ads.first().attr('href'));
                window.close();
            } else {
                alert('change the coin in the script');
            }
        }
    }

})();