Created
November 1, 2018 16:32
-
-
Save nathansmith/a773c1ce22f94365a36d048da098cd13 to your computer and use it in GitHub Desktop.
Leave this running on your "dribbble.com/username/followers" page, to auto-follow everyone back.
This file contains 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
// ================== | |
// Scroll page timer. | |
// ================== | |
setInterval(function() { | |
// NOT end of page? | |
if (!$('.null-message').length) { | |
// Get offset. | |
var offset = document.body.scrollHeight | |
// Scroll window. | |
window.scrollTo(0, offset) | |
} | |
// Wait 60 seconds. | |
}, 60000) | |
// =================== | |
// Click follow timer. | |
// =================== | |
setInterval(function() { | |
// End of page? | |
if ($('.null-message').length) { | |
// Click first link. | |
$('a.follow:first').click() | |
} | |
// Wait 30 seconds. | |
}, 30000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment