Forked from thomasrstegelmann/targeted-auto-follow.js
Created
December 15, 2015 17:42
-
-
Save Bostonncity/bfcd1af22b4292bc5429 to your computer and use it in GitHub Desktop.
I modified Karan's script to follow only profiles that match a certain keyword. Please see https://medium.com/marketing-102/how-i-grew-from-300-to-5k-followers-in-just-3-weeks-2436528da845#.75mau0pj9 for details
This file contains hidden or 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
| 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); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment