Last active
May 31, 2020 01:19
-
-
Save B45i/4e5efb410c3f191b785713b37a052f6b to your computer and use it in GitHub Desktop.
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
| /*To accept friends*/ | |
| javascript: | |
| var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _4jy1 selected _51sy'); | |
| for(var i=0; i<inputs.length;i++) | |
| { | |
| inputs[i].click(); | |
| } | |
| /*------------------------------------------------------------------------------------------------------*/ | |
| /*to remove; | |
| https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main */ | |
| javascript: | |
| var inputs = document.getElementsByClassName('_54k8 _56bs _56bt'); | |
| for(var i=0; i<inputs.length;i++) | |
| { | |
| inputs[i].click(); | |
| } | |
| /*------------------------------------------------------------------------------------------------------*/ | |
| /*auto like all posts*/ | |
| javascript: | |
| var inputs = document.getElementsByClassName('_48-k UFILikeLink'); | |
| for(var i=0; i<inputs.length;i++) | |
| { | |
| inputs[i].click(); | |
| } | |
| /*------------------------------------------------------------------------------------------------------*/ | |
| /*To send request to those who likes a post*/ | |
| javascript: | |
| var inputs = document.getElementsByClassName('_54k8 _56bs _56bu'); | |
| for(var i=0; i<inputs.length;i++) | |
| { | |
| inputs[i].click(); | |
| } | |
| /*----------------------------------------with delay--------------------------------------------------------------*/ | |
| javascript: | |
| var inputs = document.getElementsByClassName('_54k8 _56bs _56bu'); | |
| setTimeout(function () { | |
| for(var i=0; i<inputs.length;i++) | |
| { | |
| inputs[i].click(); | |
| } | |
| }, 1000); | |
| *----------------------------------------Amal Murali--------------------------------------------------------------*/ | |
| (function(){ | |
| var addFriend = document.getElementsByClassName('_54k8 _56bs _56bu'); | |
| var index = addFriend.length-1; | |
| unfollow(); | |
| function unfollow(){ | |
| if(index >= 0){ | |
| addFriend[index--].click(); | |
| setTimeout(unfollow, 1000); | |
| } | |
| } | |
| })(); | |
| /*------------------------------------------------------------------------------------------------------*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment