Untitled
unknown
plain_text
2 years ago
954 B
9
Indexable
function clickButton() {
var button = document.querySelector('.textButtonV2');
if (button) {
button.click();
console.log("Düğmeye tıklandı!");
} else {
console.log("Düğme bulunamadı.");
}
}
function getRandomWaitTime(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
function performClickWithDelay() {
var clickCount = 0;
var delayInterval = 5 * 60 * 1000; // Başlangıçta 5 dakika bekleyecek
function performClickIteration() {
setTimeout(function () {
clickButton();
clickCount++;
// 2. tıklamadan sonra bekleme süresini artır
if (clickCount % 2 === 0) {
delayInterval += getRandomWaitTime(5 * 60 * 1000, 8 * 60 * 1000);
}
performClickIteration();
}, delayInterval);
}
// İlk tıklama işlemini başlat
performClickIteration();
}
// Tıklama işlemini başlat
performClickWithDelay();
Editor is loading...
Leave a Comment