Skip to content

Instantly share code, notes, and snippets.

@Rahul-RB
Last active May 7, 2017 02:04
Show Gist options
  • Select an option

  • Save Rahul-RB/adea75efb882d85bce1ef738780ceeb2 to your computer and use it in GitHub Desktop.

Select an option

Save Rahul-RB/adea75efb882d85bce1ef738780ceeb2 to your computer and use it in GitHub Desktop.
Mass unfollow Quora
//Open your profile page and click "Following" tab on left side
//Then open console and paste the code below.
//You can also specify the people who you want to keep following (depending on their number of followers).
//To do so, change the float number at end of this condition in "if" statement: "parseFloat(tag.childNodes[1].innerHTML)<20.00 "
var all_tags = document.getElementsByTagName("a");
for(var i=0, len=all_tags.length ; i<len ; ++i)
{
var tag = all_tags[i];
if( tag.getAttribute("action_click") && tag.getAttribute("action_click") == "UserUnfollow" && tag.childNodes[1].innerHTML!="undefined" && parseFloat(tag.childNodes[1].innerHTML)<20.00 ) {
tag.click();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment