961 posts
  • 4 Years of Membership
  • Author Level 4
  • Canada
  • Collector Level 2
+3 more
graphicmind
says

Only now I’ve really realized the purpose of that box on the homepage. Problem is I’m following way too many people for it be of any use. So is there anyway to unfollow everyone at once? Maybe a script or something?

1424 posts
  • Wordsmith
  • 5 Years of Membership
  • Beta Tester
  • Affiliate Level 2
+7 more
Stylius
says

That’s mean.. :) How many people are you following?

961 posts
  • 4 Years of Membership
  • Author Level 4
  • Canada
  • Collector Level 2
+3 more
graphicmind
says

That’s mean.. :) How many people are you following?

Maybe 500

It is sorta mean but audiojungle and photodune author’s items fill up that box.

1424 posts
  • Wordsmith
  • 5 Years of Membership
  • Beta Tester
  • Affiliate Level 2
+7 more
Stylius
says

Go one by one! It’ll be fun. ;)

4621 posts
  • United Kingdom
  • Community Superstar
  • Author Level 4
  • Weekly Top Seller
+10 more
ToivoMedia
says

And then you’ll find which ones you still want to keep as well :)

161 posts
  • Turkey
  • Weekly Top Seller
  • Most Wanted Winner
  • Beta Tester
+5 more
squizmo
says

That’s mean.. :) How many people are you following?

+1 ;)

3875 posts Community Moderator
  • Weekly Top Seller
  • Moderator
  • Tuts+ Instructor
  • Netherlands
+10 more
Joost
Moderator
says

I’d write you a script, but all I can come up with at the moment is a greasemonkey script that keeps refreshing your profile page and visiting the unfollow-link of the first one on there.. I’ll try and cook something else up, and if I don’t think of something soon I’ll write it out :P Shucks to have to make a thousand server requests though… Perhaps a delay to spread the load and not make your ISP think you’re DoS’ing ;)

Or is there a dev around that wants to just clear the row in the dbase? ;)

EDIT : Dangit, it’s actually a post request now, not just visiting a link :| (as you might’ve noticed, I got started on the GM script xD)

EDIT2 : Double dangit – authenticity tokens. Seems like we’d have to scrape that off each profile page before sending the unfollow requests.. I guess I’m gonna hold off on this one for a minute, perhaps someone has a more elegant solution ;)

EDIT3 : Hmm, it seems the unique token isn’t as unique as I thought it was. Contact me on skype, graphicmind? (Or an email via my profile for initial contact?)

EDIT4 : I just auto-unfollowed a bunch of people. Whoops! Now to push the dial to full scale.. :P Sent you an email. If it works out properly for you I’ll post the snippit on here.

EDIT5 : All right, for the sake of not being denvercoder9 I’ll post the snippit here. If you want to use it, let me know if you need any help turning it into a Greasemonkey script. Please, use it for good, not evil.
var token = document.getElementsByName('csrf-token')[0];
var links = document.getElementsByClassName('following')[0].getElementsByClassName('avatar');
for(a in links) {
    GM_xmlhttpRequest({
        method: "post",
        url: links[a] + "/unfollow",
        headers: { "Content-type" : "application/x-www-form-urlencoded" },
        data: "utf8="+encodeURIComponent("?")+"&authenticity_token="+encodeURIComponent(token.content),
    });
}
if (links.length == 9)
    setTimeout("location.reload(true);", 4000);
3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

Maybe 500

I’m afraid you will have to make a new account. ^ ^

531 posts
  • Weekly Top Seller
  • Featured Author
  • Featured Item
  • Most Wanted Winner
+7 more
DoubleX
says

Just make a rule. For example – unfollow two authors every day. In a year you are done :D

961 posts
  • 4 Years of Membership
  • Author Level 4
  • Canada
  • Collector Level 2
+3 more
graphicmind
says

Check my profile, thanks to Joost who made a script!

http://userscripts.org/scripts/show/130916
by
by
by
by
by
by