Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Number of follow links in the queue to autoclick (1 every 5 to 8 seconds, up to 10 at a time) */
- if (!window.fnum || window.fnum<1 || window.fnum>50){window.fnum=1;}
- /* Last timestamp when a follow was clicked */
- window.lastftime = Date.now();
- jQuery('article.not_mine a.follow_link:contains(.is-following)').remove();
- /* If a post is a photo and the tumblr is set as nsfw, look for a follow-text link */
- jQuery('article.not_mine.post--owner_flagged_nsfw a.follow_link:not(.is-following)').each(
- function () {
- window.fnum++;
- console.log('QUEUED! '+window.fnum);
- let that = this;
- let tumname=jQuery(this).parent('article').attr('tumblelog');
- window.setTimeout(function () {
- if (Date.now() - window.lastftime > 3000) {
- jQuery(that).click();
- console.log(tumname+' BOOM! '+window.fnum);
- window.fnum--; jQuery('article a.follow_link:contains(.is-following)').remove();jQuery('#dialog_0 > div > div > div:nth-child(1) > button').click(); jQuery('.ui_dialog_lock.opaque').remove();jQuery('.ui_dialog_1').remove();
- window.lastftime = Date.now()
- }
- }, ((Math.random() * 5000) + (5000 * window.fnum)))
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement