Skip to content

Instantly share code, notes, and snippets.

@duksis
Created December 19, 2023 17:11
Show Gist options
  • Save duksis/2e158408f82cf8fb5008ee2c585b5063 to your computer and use it in GitHub Desktop.
Save duksis/2e158408f82cf8fb5008ee2c585b5063 to your computer and use it in GitHub Desktop.
Click every (loaded) Follow button on the current bsky.app page
var buttons = document.querySelectorAll('button > div > div'); for (let i = 0; i < buttons.length; i++) {
buttons[i].textContent === 'Follow' ? buttons[i].click() : false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment