1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook - Confirm all friend requests script

Discussion in 'FaceBook' started by Recharge, Jun 6, 2014.

  1. Recharge

    Recharge Newbie

    Joined:
    Jun 6, 2014
    Messages:
    3
    Likes Received:
    1
    Occupation:
    PHP/JS/C# Developer
    Location:
    Crypto-land.
    Hello guys,

    This is my first contribution to the BHW and I hope that you'll like it. Script is pretty straight forward, it only looks for 'Confirm' buttons in browser and then clicks on them. Its a simple script that will save you from all of the boring clicking on Confirm. :)

    PHP:
    var buttons document.getElementsByClassName('phl')[0].getElementsByTagName('button'); for (var i=0;i<buttons.length;i++) { if(buttons[i].textContent 'Confirm') {buttons[i].click();} }
    P.S. To make it work, paste it into the Chrome's developer console (or Mozilla's Firebug console).
     
    • Thanks Thanks x 1
  2. lalit_burma

    lalit_burma Senior Member

    Joined:
    Jan 30, 2010
    Messages:
    847
    Likes Received:
    576
    not working ... have you tried it yourself ?

    It was showing friend requests sent ...