Wednesday 24 December 2014

Script to Accept All Facebook Requests at Once

For people having issues in accepting lot of Friend requests.
Here is the script to accept all friend requests at once.

Follow the steps and you are done.

Step 1:
Go to your Facebook Profile and click on See more
See the below image

Step 2:
Now after the new page in opened, goto the Address bar and paste the script there and dont forget to 
append  Javascript:   in the start of script. See the image below.


See the above picture carefully and click Enter. You are done :)
Below is the script.


var idsArray = [].map.call(document.querySelectorAll('._42ft._4jy0._4jy3._4jy1.selected'), function (el) {
if(el.id != ''){
return el.id;
}
    
}); 
for (i=0;i<idsArray.length;i++){
if(idsArray[i] != null)
document.getElementById(idsArray[i]).click();
}