Ahmad Awais

SHARE


Cancel All Facebook Sent Freind Requests!

Ahmad AwaisAhmad Awais

More often than not you find someone interesting and send them a friend request but don’t get a response. That sucks. Well, getting to undo these sent friend requests sucks more.

So, here’s an easy way to do it. It worked till 2018-05-21

➑ Step#1:Β  Go to this link on FacebookΒ (it’s a mobile site link).

https://m.facebook.com/friends/center/requests/outgoing/#friends_center_main

➑ Step#2:  Scroll to the very end till all requests you sent are loaded.

➑ Step#3: Open Chrome Inspector/DevTools by right-clicking on the page anywhere and selecting InspectΒ or just press ⌘ + βŒ₯ + J on Mac for Chrome.

➑ Step#4: Paste the following script and press enter :) β€” and you’re done.

javascript: var inputs = document.getElementsByClassName('_54k8 _56bs _56bt');
for (var i = 0; i < inputs.length; i++) {
    inputs[i].click();
}

All it does is click on all the Undo buttons for you.
Peace! ✌

πŸ“¨

TheDevTakeaway: Developers' Newsletter!

Takeaway my professional opinion about Open Source, JavaScript/Cloud, Full Stack Development, building a business, growing a family, and everything in between! Delivered to your inbox once a month. 🀣 I'm even funny some times. πŸ‘» I hate spam! Pinky Promise!

πŸ‘¨β€πŸ« Edutainer at VSCode.pro 🎩 Full-time #OpenSourcerer πŸ₯‘ JavaScript Developer Advocate πŸ”₯ Ridiculously hard-working Full Stack Web Developer ⓦ Regular WordPress Core Developer πŸ“£ TEDx Speaker ✌️ Spends 50-80% of his time building professional FOSS (Free & Open Source Software) used by over 218,900 Developers πŸ™Œ Cloud Community Evangelist 🎯 JavaScript & DevOps fanboy πŸ˜‚ Cracks silly jokes πŸ’œ Loves his wife (Maedah) πŸ• Learn more about Ahmad ↣

Say πŸ‘‹ on Twitter @MrAhmadAwais | Subscribe to the WordPress Takeaway!