Bu kodun çalışması lazım test etmedim ama günde 100-150 tane çıkarılması lazım max yoksa bloklanabilir hesabınız bilginiz olsun.
let delay = 4000; // Her kişi arasında bekleme süresi
let count = 0;
let limit = 20; // En fazla kaç takipçiyi çıkaracağını ayarla
function removeFollower() {
const moreButtons = Array.from(document.querySelectorAll('button'))
.filter(btn => btn.getAttribute('aria-label') === 'Kullanıcı seçenekleri' || btn.innerText === '...');
if (count >= limit || moreButtons.length === 0) {
console.log("İşlem tamamlandı.");
return;
}
let btn = moreButtons[0];
btn.scrollIntoView({ behavior: 'smooth', block: 'center' });
btn.click();
console.log(`Takipçi ${count + 1} çıkarılıyor...`);
let tryCount = 0;
function tryRemoveClick() {
const removeBtn = Array.from(document.querySelectorAll('button'))
.find(b => b.textContent.trim() === "Çıkar" || b.textContent.trim() === "Remove");
if (removeBtn) {
removeBtn.click();
count++;
setTimeout(removeFollower, delay);
} else if (tryCount < 10) {
tryCount++;
setTimeout(tryRemoveClick, 500);
} else {
console.warn("Çıkar butonu bulunamadı.");
count++;
setTimeout(removeFollower, delay);
}
}
setTimeout(tryRemoveClick, 1000);
}
removeFollower();