Bitverts.io

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==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');
            }
        }
    }

})();