Litecoin_click_bot

Litecoin_click_bot icin otomatik trafik

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         Litecoin_click_bot
// @namespace    [email protected]
// @version      1.0.0
// @description  Litecoin_click_bot icin otomatik trafik
// @author       ekaraman [email protected]
// @match        https://web.telegram.org/
// @grant        none
// ==/UserScript==

(function() {
var win;
getLink();

setInterval(function () {
     console.error('setInterval');
 var size = $($('.im_message_text')).size()-1;
 var lastMessage= $($('.im_message_text')[size]).text();

 if(lastMessage.indexOf('You earned')==0)
 {
  if(win!=undefined) win.close();
  getLink();
 }
 else if(lastMessage.indexOf('Sorry')==0)
 {
  if(win!=undefined) win.close();
  return;
 }
 else if(lastMessage.indexOf('You must stay on the site')==0 || lastMessage.indexOf('Please stay')==0 ){}
 else{
  getLink();
 }

}, 2000);

function getLink(){
 var lastMessage= $('.im_message_text :last').html();
 if(lastMessage=='/settings') location.reload();

 var list=[];
 $.each($('.reply_markup_button') , function( key, value ) {
  if(String(value).includes("dogeclick.com"))
  {
   list.push(value);
  }
 });
 var count = list.length;
    if(count>0) var link =$(list[count-1]).prop('href').split('visit%2F')[1];

 navigateToLink(link);

}

function navigateToLink(link){
 if(localStorage.getItem("lastLink") === link) return;
  if(win!=undefined) win.close();
  win =window.open(
   'http://dogeclick.com/visit/'+link,
   '_blank'
 );
 localStorage.setItem("lastLink", link);
}
})();