Last active
May 7, 2017 02:04
-
-
Save Rahul-RB/adea75efb882d85bce1ef738780ceeb2 to your computer and use it in GitHub Desktop.
Mass unfollow Quora
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //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