Last active
September 12, 2019 17:55
-
-
Save hclivess/94559dab9646e0576fad8a1d7c212720 to your computer and use it in GitHub Desktop.
delete_fb_friend_requests.js
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
!!! DELETE FRIEND REQUESTS OUTGOING: 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(); | |
} | |
!!! ADD NEW FRIENDS: https://m.facebook.com/friends/center/requests/?rfj&no_hist=1 | |
javascript:var inputs = document.getElementsByClassName('_54k8 _52jg _56bs _26vk _40x9 _56bu'); | |
for(var i=0; i<inputs.length;i++) { | |
inputs[i].click(); | |
} | |
!!! SELECT 50 TO INVITE | |
function sleep(ms) { | |
return new Promise(resolve => setTimeout(resolve, ms)); | |
} | |
javascript:var inputs = document.getElementsByClassName('_42o8 _42oc'); | |
console.log(inputs.length); | |
for(var i=0; i<inputs.length;i++) { | |
inputs[i].click(); | |
await sleep(2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment