Skip to content

Instantly share code, notes, and snippets.

@thomasrstegelmann
Last active November 1, 2024 20:25
Show Gist options
  • Save thomasrstegelmann/6e459898dc3640bf921c to your computer and use it in GitHub Desktop.
Save thomasrstegelmann/6e459898dc3640bf921c to your computer and use it in GitHub Desktop.
I modified Karan's script to follow only profiles that match a certain keywords to follow only relevant accounts. Please see https://medium.com/marketing-102/how-i-grew-from-300-to-5k-followers-in-just-3-weeks-2436528da845#.75mau0pj9 for details
a = setInterval(function () {
window.scrollTo(0,document.body.scrollHeight);
$(".ProfileCard-userFields").each( function() {
if($(this).find('.ProfileCard-bio').text().match(new RegExp("google|twitter|airbnb|entrepreneur|founder|tech|growthhacking|hacking|official|consultant|analytics|ecom|startup|ceo|ux|seo|ecommerce|growth"), "g") !== null )
{
$(this).parent().find('.not-following .user-actions-follow-button.js-follow-btn').click();
}
} );
}, 1000);
@infotainor254
Copy link

awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment