Skip to content

Instantly share code, notes, and snippets.

@rvvvt
Last active September 8, 2022 03:00
Show Gist options
  • Save rvvvt/4b20fdc063024f2664e7afee696fe156 to your computer and use it in GitHub Desktop.
Save rvvvt/4b20fdc063024f2664e7afee696fe156 to your computer and use it in GitHub Desktop.
run this in your chrome dev tools console to click "follow" in 1 second intervals.
but = $$('[data-testid*="-follow"]')
//for (i in but) {but[i].click()}
for (var i = 0; i < but.length; i++) {
let button = but[i]
setTimeout(() => {
button.click()
}, 1000 * i)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment