SHARE
TWEET

bookmarklet-follow-nsfw-tumblrs-on-page

tblop Dec 3rd, 2017 (edited) 114 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript: if (!window.fnum || window.fnum<1 || window.fnum>50){window.fnum=1;} /* Last timestamp when a follow was clicked */ window.lastftime = Date.now(); jQuery('div.post.not_mine.post--owner_flagged_nsfw a.reblog_follow_button:contains(.is-following)').remove(); /* If a post is a photo and the tumblr is set as nsfw, look for a follow-text link */ jQuery('div.post.not_mine.post--owner_flagged_nsfw a.reblog_follow_button: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('div.post.not_mine a.reblog_follow_button: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))) });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top