What's the current dev code to follow all on a Twitter page?

Dark Comedy

Junior Member
Joined
Dec 16, 2016
Messages
173
Reaction score
34
I used to have $('.user-actions-follow-button').filter(':not(.cancel-hover-style)').click() to drop into dev tools console and it would follow everyone.

What's the new code to follow all on a page that has the new Twitter layout?
 
right click the follow button > inspect element.

Look for the id / name pattern required.
 
Can you give me an example of what to look for? I just see html when I inspect the follow button
 
Code:
$('.user-actions-follow-button').filter(':not(.cancel-hover-style)').click()

Do you understand what that is doing?
About css id / class?

You just need to provide a way to find the follow button. So previously,
Code:
.user-actions-follow-button
that would be a class applied to all follow buttons the fullstop / period / . implies class (# = id)

so view the source, find the follow button, and find a pattern that is applied to all follow buttons.

I've no idea what it can be partial or full match, I would imagine you can do it partiall as well

then the filter is just saying "don't click buttons that have the .class that indicates it has already been pressed (thus would cause an unfollow
 
Back
Top