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
| // open "following" on web browser | |
| async function main() { | |
| const buttons = document.querySelectorAll('button') | |
| for (let button of buttons) { | |
| if (button.textContent.trim().toLowerCase() === 'seguindo') { | |
| button.click() | |
| await wait(5000) | |
| const unfollowBtns = document.querySelectorAll('button') | |
| for (let x of unfollowBtns) { | |
| if (x.textContent.trim().toLowerCase() === 'deixar de seguir') { |