Skip to content

Instantly share code, notes, and snippets.

View WahabShah23's full-sized avatar
💪
workin-out

Abdul Wahab Shah WahabShah23

💪
workin-out
View GitHub Profile
@WahabShah23
WahabShah23 / fb-friend-requests-automation.js
Created December 16, 2021 08:39 — forked from AhsanAyaz/fb-friend-requests-automation.js
Automagically accept all friend requests on your profile
/**
* @author Muhammad Ahsan Ayaz
* Usage:
* Go to https://www.facebook.com/friends/requests/
* Run the following code
*/
function acceptRequests (container, mutualThreshold, timerDelay) {
var rows = container.querySelectorAll('[aria-label="Confirm"]:not([aria-disabled="true"])')
rows.forEach((row, index) => {