Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setInterval(function() {
- window.scrollTo(0, document.body.scrollHeight);
- }, 2000);
- // wait until scrolled to bottom completely
- $('.ProfileCard-content').each(function() {
- var status = $(this)
- .find('.FollowStatus')
- .text();
- var unfollowButton = $(this).find('.user-actions-follow-button');
- // change 'follows you' according to your language environment
- if (status != 'follows you') {
- unfollowButton.click();
- }
- });
Add Comment
Please, Sign In to add comment