Kamis, 24 Maret 2011

0 Clixsense autoclick


yang bermain klik2 iklan di clixsense dan kebetulan dpt banyak iklan tp malas ngeklik... nih script utk autoclicknya (pake greasemongkey)


// ==UserScript==
// @name           clixsense auto-click script - v0.?.?
// @namespace      http://userscripts.org/scripts/show/22272
// @include        https://www.clixsense.com/browse.php
// @Description    This script browses through clixsense ads and automatically clicks them for you.  It starts five minutes after you confirm execution.  The script waits anywhere from 60 seconds to 5 minutes between clicks.  This script is released under GPL License 3.0 and under the MIT License.
// ==/UserScript==
/* Settings */
minimum_wait = 200;     // 30 seconds is the absolute minimum.  I like a little buffer.
maximum_wait = 2 * 200; // 2 minutes
/* Declaration of global variables */
waiting_time = 0;
clix_links = document.getElementsByTagName('a');
sponsor_links = new Array();
sponsor_target = new Array();
sponsor_link_number = new Array();

my_div = document.createElement('div');
my_div.innerHTML = '<div style="height: 60px; width: 150px; ' +
        'background-color: #99FFCC; z-index: 100; position: fixed;' +
        'padding: 5px; opacity: .4;' + 
        'right: 10px; bottom: 10px;" id="my_div">' + 
        '' + 
        '</div>';

document.body.insertBefore(my_div, document.body.firstChild);
countdown_div = document.getElementById('my_div');
for (var i = 0; i < clix_links.length; i++) {
    if (clix_links[i].href.search(/browse.php\?launch/i) != -1) {
        sponsor_links.push(clix_links[i].href);
        sponsor_target.push(clix_links[i].target);
        sponsor_link_number.push(i);
    }
}
if (sponsor_links.length > 10) {
    if (confirm("Wew.. Kemungkinan ada 10 atau lebih link yg mau di klik di halaman ini.\r\nGimana Bozz, gw sikat aja?")) 
        waiting_time = Math.floor(Math.random() * maximum_wait) + minimum_wait;
} else if (sponsor_links.length > 0) {
    if (confirm("Wkwokowk.. ada sekitar " + sponsor_links.length + " link jablay.  Gimana bozz? gw sikat aja?.")) 
        waiting_time = Math.floor(Math.random() * maximum_wait) + minimum_wait;
} else {
    return false;
}

update_time();

/* FUNCTIONS */
function update_time() {
    waiting_time--;
    var min = Math.floor(waiting_time / 250);
    var seconds = waiting_time % 250;
    
    if (waiting_time == 0) {
        open_random_link();
    } else {
        countdown_div.innerHTML = "Sisa Waktu:: " + min + ":" + seconds;
        if (seconds < 10)
            countdown_div.innerHTML = "Sisa Waktu:: " + min + ":0" + seconds;
        else
            countdown_div.innerHTML = "Sisa Waktu:: " + min + ":" + seconds;
             
        window.setTimeout(update_time, 100);
    }
}
function find_sponsor_table(url_target) {
    tables = document.getElementsByTagName('table');
    for (var i = 0; i < tables.length; i++) {
        if (tables[i].innerHTML.search(/<table/i) == -1) {
            if (tables[i].innerHTML.search(url_target) != -1) {
                tables[i].style.display = 'none';
            }
        }
    }
}
function open_random_link() {
    var link_href = "";
    var link_target = "";
    var blank_regexp = new RegExp(/^\s*$/);

    if (sponsor_links.length > 0) {
        do {
            var link_number = Math.floor(Math.random() * sponsor_links.length);
            link_href = sponsor_links.splice(link_number, 1);
            link_target = sponsor_target.splice(link_number, 1);
        } while ((blank_regexp.exec(link_href) != null) && (sponsor_links.length > 0));

        if (blank_regexp.exec(link_href) != null) {
            alert("All links used up.");
        } else {
            window.open(link_href, link_target); 
            find_sponsor_table(link_target);

            waiting_time = Math.floor(Math.random() * maximum_wait) + minimum_wait;
            update_time();
        }
    } else {
        countdown_div.innerHTML = "Oh Yea..Sukses!!.  <a href='javascript:window.location.reload(true);'>Coba Lagi</a>";
    }
}


script diatas udah Tested dan Work

nb:
- kemungkinan error palingan cuma 2 iklan aja.
- aku share script ini soalnya kemarin aku nemu iklan mkzscc nongol di clixsense jg :smiley_beer: jadi aku coba share disini, siapa tau banyak member yang mau ngumpul dollar melalui clixsense juga

edited by me (Rama)

0 komentar:

Poskan Komentar

Kalau Comment Jangan Junk Ya

Free Blog Promotion

Untuk mengatur bagaimana tampilan tooltip tersebut nantinya, maka disini memerlukan kode style. Kode yang diperlukan seperti berikut ini.