Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (() => {
- const buttons = Array.from(document.querySelectorAll('input, button'))
- .filter(btn => btn.innerText.trim().toLowerCase().includes('collect now') || btn.value?.toLowerCase().includes('collect now'));
- if (buttons.length === 0) {
- console.log('No "Collect Now" buttons found.');
- return;
- }
- buttons.forEach((btn, i) => {
- setTimeout(() => {
- btn.click();
- console.log(`Clicked button ${i + 1} of ${buttons.length}`);
- }, i * 500); // Delay between clicks to avoid throttling
- });
- })();
Add Comment
Please, Sign In to add comment