- Select all the code and drag it into your bookmarks bar in your web browser.
- Navigate to Twitter following page
- Click the bookmarklet, it will start unfolliwing users not following you back
- ???
- Profit
javascript:(function(){ $('head').append("<script>var css,if_follows_me,start;console.log=console.__proto__.log,css=\"<style> .account.selected, .account.selected *{ color: lime !important; background: black; } .account .badge { padding: 4px; right: 0; bottom: 0; position: absolute; width: 130px; color: black !important; } .account .badge.ok { background: lime; } .account .badge.not-ok { background: red; }<style>\",$(\"head\").append(css),if_follows_me=function(o,t){var e;return e=[\"\x68\x74\x74\x70\x73\x3A\x2F\x2F\x74\x77\x69\x74\x74\x65\x72\x2E\x63\x6F\x6D\x2F\x69\x2F\x70\x72\x6F\x66\x69\x6C\x65\x73\x2F\x70\x6F\x70\x75\x70\x3F\x75\x73\x65\x72\x5F\x69\x64\x3D\"]+o+\"&_=\"+Date.now(),$.getJSON(e,function(o){var e,s;return e=!(\"follows you\"!==$(o.html).find(\".follow-status\").text()),s=$(o.html).find(\".follow-status\").text(),t(e)})},start=function(){var o,t,e;return t=0,o=$(\".account\").not(\".processed\"),e=function(){var s,n,a,l,c,r,d;return o.length>t?(s=o.eq(t++),s.addClass(\"selected\"),s.addClass(\"processed\"),d=s.find(\".username\").text(),r=s.data(\"user-id\"),c=$(window).scrollTop(),l=s.offset().top-c,n=l-300,$(window).scrollTop(c+n),a=function(){return setTimeout(function(){return s.removeClass(\"selected\"),e()},1e3)},if_follows_me(r,function(o){var t;return o?(t=$(\"<b class='badge ok'> ? Follows us back</b>\"),s.append(t),a()):(t=$(\"<b class='badge not-ok'> ? Didn't follow back</b>\"),s.append(t),a(),s.find(\".js-follow-btn\").click())})):setTimeout(start,100)},e()},start();</script>"); })()
Developed and tested on Chromium 30.
Last edited by CodeNinja; Today at 05:48 PM.
0 comments
Posts a comment