Last active
June 22, 2025 13:31
-
-
Save avipars/347895b291ed399324326a1d9d3cfe59 to your computer and use it in GitHub Desktop.
yad2 הקפצה
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clickBumpButtons() { | |
async function clickSequentially() { | |
const delay = ms => new Promise(resolve => setTimeout(resolve, ms)); | |
const buttons = Array.from(document.querySelectorAll('span[class="action-button_actionButtonLabel__WWXHf"]')) | |
.filter(btn => btn.textContent.trim() === 'הקפצה'); | |
for (const btn of buttons) { | |
console.log('Clicking:', btn); | |
btn.click(); | |
await delay(1500); // delay to avoid issues or throttling | |
} | |
} | |
clickSequentially(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function clickBumpButtons() {
async function clickSequentially() {
const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
}
clickSequentially();
}