Clixsatoshi

Sign up: https://anon.to/2SihAt - 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 यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

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

Advertisement:

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

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

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

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

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

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

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

Advertisement:

// ==UserScript==
// @name         Clixsatoshi
// @icon         http://clixsatoshi.com/favicon.ico
// @namespace    helpercoins.blogspot.com
// @version      1
// @description  Sign up: https://anon.to/2SihAt - Login, Click "View PTC Ads", Bot starts, sometime you have to complete a recaptcha code
// @author       Helpercoins.blogspot.com
// @match        http://clixsatoshi.com/*
// @grant        window.close
// ==/UserScript==

(function() {

    if(window.location.href.indexOf("view") > -1) {
        var i = setInterval( function() {
            if(jQuery('.progress-bar').hasClass('progress-bar-success') || document.documentElement.innerText.indexOf('You have closed the CAPTCHA modal, please reload the advertisement.') > -1 || document.documentElement.innerText.indexOf('Invalid CAPTCHA code.') > -1 || document.documentElement.innerText.indexOf('Congratulations!') > -1 || document.documentElement.innerText.indexOf('You already viewed this ad in the last 24h...') > -1 || document.documentElement.innerText.indexOf('Invalid token!') > -1) {
                setTimeout( function(){
                    location.href = "http://clixsatoshi.com/ads";
                }, 1000);
            } else if(document.documentElement.innerText.indexOf('Awaiting captcha...') > -1) {
                var foCus =  jQuery('.form-control');
                if(foCus.length > -1) {
                    setTimeout( function() {
                        foCus.focus();
                    }, 1000);
                }
                clearInterval(i);
                setInterval( function() {
                    if(jQuery('.progress-bar').hasClass('progress-bar-success') || document.documentElement.innerText.indexOf('You have closed the CAPTCHA modal, please reload the advertisement.') > -1 || document.documentElement.innerText.indexOf('Invalid CAPTCHA code.') > -1 || document.documentElement.innerText.indexOf('Congratulations!') > -1 || document.documentElement.innerText.indexOf('You already viewed this ad in the last 24h...') > -1 || document.documentElement.innerText.indexOf('Invalid token!') > -1) {
                        setTimeout( function(){
                            location.href = "http://clixsatoshi.com/ads";
                        }, 1000);
                    }
                }, 1000);
            }
        }, 1000);
    } else if(window.location.href.indexOf("ads") > -1) {
        var ad =  $('.col-md-8').find('.viewads-ad').not('.visited-link').find('.viewads-row-title').find('a');

        if(ad.length !== 0) {
            console.log(ad.first().attr('href'));
            var win = window.open(ad.first().attr('href'));
            window.close();
        }
    }

})();