Litecoin_click_bot

Litecoin_click_bot icin otomatik trafik

คุณจะต้องติดตั้งส่วนขยาย เช่น 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.

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

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