for (let i = 0; i < 1000; i++) {
setTimeout(() => {
document.getElementById("spinner").click();
}, i * 1000); // Delay mỗi lần click là i * 1000 milliseconds (tức là i giây)
}
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner() {
let i = true;
while (i) {
document.getElementById("spinner1").click();
await delay(100);
i++;
}
}
clickSpinner();
=====================================================
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner2() {
let i = true;
while (i) {
document.getElementById("spinner2").click();
await delay(100);
i++;
}
}
clickSpinner2();
=====================================================
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner3() {
let i = true;
while (i) {
document.getElementById("spinner3").click();
await delay(100);
i++;
}
}
clickSpinner3();
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner4() {
let i = true;
while (i) {
document.getElementById("spinner4").click();
await delay(100);
i++;
}
}
clickSpinner4();
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner5() {
let i = true;
while (i) {
document.getElementById("spinner5").click();
await delay(100);
i++;
}
}
clickSpinner5();
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner6() {
let i = true;
while (i) {
document.getElementById("spinner6").click();
await delay(100);
i++;
}
}
clickSpinner6();
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner7() {
let i = true;
while (i) {
document.getElementById("spinner7").click();
await delay(100);
i++;
}
}
clickSpinner7();
============================= Auto Cex.IO ===============================
async function clickButtonsSequentially(buttons, interval) {
for (let i = 0; i < buttons.length; i++) {
buttons[i].click();
await new Promise(resolve => setTimeout(resolve, interval)); // Đợi 0.1 giây
}
}
const buttons = document.getElementsByClassName("Button_btn__XqmXE");
clickButtonsSequentially(buttons, 100);
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function clickSpinner1() {
let i = true;
while (i) {
document.getElementsByClassName("Button_btn__XqmXE1").click();
await delay(100);
i++;
}
}
clickSpinner1();
========================= AUTO Claim Trứng ==============================
const message = "🥚GET";
function sendMessage() {
const inputField = document.querySelector('div[contenteditable="true"]'); //
Trường nhập tin nhắn
if (inputField) {
inputField.innerHTML = message;
const sendButton = document.querySelector('button[class*="send"]');
if (sendButton) {
sendButton.click();
} else {
console.error("Nút gửi tin nhắn không tìm thấy.");
}
} else {
console.error("Trường nhập tin nhắn không tìm thấy.");
}
}
function startSendingMessages() {
sendMessage(); // Gửi tin nhắn lần đầu tiên ngay lập tức
const interval = 10 * 60 * 1000 + 1000; // 10 phút 1 giây
setInterval(sendMessage, interval);
}
startSendingMessages();
setTimeout(() => {
// Xác định nội dung tin nhắn bạn muốn gửi
const message = "🥚GET";
// Tìm trường nhập tin nhắn
const inputField = document.querySelector('div[contenteditable="true"]'); //
Trường nhập tin nhắn
if (inputField) {
// Điền vào trường nhập tin nhắn
inputField.innerHTML = message;
// Tìm nút gửi tin nhắn
const sendButton = document.querySelector('button[class*="send"]');
if (sendButton) {
// Nhấn nút gửi tin nhắn
sendButton.click();
} else {
console.error("Nút gửi tin nhắn không tìm thấy.");
}
} else {
console.error("Trường nhập tin nhắn không tìm thấy.");
}
}, 2000);
============================ Hệ Ton =========================================
function delay(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
function continuousMouseDown() {
const spinnerElement = document.getElementById("spinner1");
if (spinnerElement) {
const mouseDownEvent = new MouseEvent('mousedown', {
view: window,
bubbles: true,
cancelable: true
});
const intervalId = setInterval(() => {
spinnerElement.dispatchEvent(mouseDownEvent);
}, 0); // Khoảng thời gian giữa các sự kiện mouseDown
return intervalId;
} else {
console.error("Element with ID 'spinner1' not found.");
return null;
}
}
const intervalId = continuousMouseDown();
id="spinner1"
function simulateMouseDown(element) {
const event = new MouseEvent('mousedown', {
bubbles: true,
cancelable: true,
view: window
});
element.dispatchEvent(event);
}
function continuousMouseDown() {
const spinnerElement = document.getElementById("spinner1");
if (spinnerElement) {
const simulateDown = () => {
simulateMouseDown(spinnerElement);
requestAnimationFrame(simulateDown); // Gọi lại hàm trong frame
tiếp theo
};
simulateDown();
} else {
console.error("Element with ID 'spinner1' not found.");
}
}
continuousMouseDown();
======================= Script Get src iframe =====================
const iframeElement = document.querySelector('.payment-verification');
const iframeSrc = iframeElement.getAttribute('src');
console.log(iframeSrc);
===================
function getQueryId(url) {
// Extract the query string part after "#tgWebAppData="
const queryStr = url.split("#tgWebAppData=")[1].split("&")[0];
// Decode the query string
const decodedQuery = decodeURIComponent(queryStr);
// Split the decoded query into key-value pairs
const queryParams = decodedQuery.split("&").map(param => {
const [key, value] = param.split("=");
return { key, value };
});
// Parse the user parameter as JSON
const userParam = queryParams.find(param => param.key === 'user');
if (userParam) {
userParam.value =
JSON.stringify(JSON.parse(decodeURIComponent(userParam.value)));
}
// Reconstruct the query string with the updated user parameter
const result = queryParams.map(param => `${param.key}=$
{param.value}`).join("&");
return result;
}
const iframe = document.querySelector('iframe.payment-verification');
if (iframe) {
console.log(getQueryId(iframe.src));
} else {
console.log('Iframe không được tìm thấy.');
}
===============
const iframe = document.querySelector('iframe.payment-verification');
if (iframe) {
var url = iframe.src;
const queryStr = url.split("#tgWebAppData=")[1].split("&")[0];
const queryParams = decodedQuery.split("&").map(param => {
const [key, value] = param.split("=");
return { key, value };
});
console.log(queryParams)
} else {
console.log('Iframe không được tìm thấy.');
}
================== CATIZEN =====================
A([R("leaguechange")], N.prototype, "updateBg", null),
try {
function onClickAuto() {
P.cat.isAuto = !P.cat.isAuto,
P.cat.isAuto ? (this.ani8.play(0, !0),
Laya.timer.loop(500, this, this.checkAuto),
this.checkFreeCat(),
this.m_btn_AutoSetting.visible = !0) :
(Laya.timer.clearAll(this.checkAuto),
this.ani8.stop(),
Laya.timer.loop(5e3, this, this.checkSum),
this.m_btn_AutoSetting.visible = !1),
this.m_img_StopAuto.visible = !P.cat.isAuto
u(`AutoBot ${P.cat.isAuto ? 'deactivated' : 'activated'}!\n\nDan Cay
Airdrop`)
}
N.prototype.onClickAuto = onClickAuto
} catch (e) {
console.log(`Lỗi rồi!`);
}