You are here: Home » How To » JavaScript Code to Accept All Facebook Friend Requests At Once in a Single Click

JavaScript Code to Accept All Facebook Friend Requests At Once in a Single Click

JavaSCript Code to Accept All Facebook Friend Requests At Once

If you have a lot of pending Facebook friend requests, its a tedious task to accept all the requests one by one. Apparently there is a way to accept all your Facebook Friends request at once. you can do this using a JavaScript code which is simple to write and execute.

Let us learn how to accept all Facebook friends request at once using JavaScript code.

  • Login to your Facebook account
  • Go to Friends page
  • See all the pending friend requests
  • Scroll down the page and make sure you have all the pending friends requests on the active screen-page
  • Next, write the following JavaScript code (copy this JavaScript code from below)
  • javascript:for( i = 1;i<document.getElementsByName(“actions[accept]“).length;i++){document.getElementsByName(“actions[accept]“)[i].click();}void(0); Copy and paste the JavaScript code in the web-browser’s address bar of your pending friend requests Facebook page
  • Please make sure to add “javascript:” at the front of the code before you paste it
  • Press Enter to accept all Facebook friends request at once

JavaScript Code to Accept All Facebook Friend Requests At Once in a Single Click tagged with , , , , , .

Scroll to top