Created
October 7, 2023 06:59
-
-
Save whonion/ede2e8bae08d0203505be762f25c5eaa to your computer and use it in GitHub Desktop.
js-debank-auto-folow.js
This file contains 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
// Find all buttons on the page | |
var buttons = document.querySelectorAll('.Button_button__1yaWD');//If need change element's code here | |
// Specify the text you want to search for on the button | |
var searchText = 'Follow'; | |
// Loop through the buttons and click the one with the specified text | |
buttons.forEach(function(button) { | |
if (button.textContent === searchText) { | |
button.click(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment