- Open GreaseMonkey and copy/paste the code from
pornhub-accept-friend-requests.js
as a new userscript. - Enable the userscript.
- Navigate to
https://www.pornhub.com/user/friend_requests
to auto-accept all the friend requests on the page.
Pornhub - Bulk Accept Friend Requests
Meta
- copyright: [object Object]
- author: Aiden Valentine <aiden@xxxmultimedia.com>
- license: Apache-2.0
Load jQuery Library from CDN, and inject into page's head
Configuration - You can change these settings if needed.
Type: number
Variables for this script. DO NOT CHANGE (Unless you know what you're doing)
Requests Array Index
aReq Index
End Variables
Send one request at a time through the AJAX endpoint, then wait for a callback before continuing
Parameters
r
Begin looping through friend requests and send then to sendReq
Send Request - Send a single "Accept" friend request to the server at a time. Wait for delay to timeout, then callback to the loopArray to upon success to process the next request.
Parameters
f
number ID of the friend request.d
number Action to preform (1 = Accept Friend Request, -1 = Block User).b
string URI of the AJAX endpoint to send POST data.e
string Username of the user which sent the friend request.a
string URI of the requesting user.callback
Wait until we hear back from Server 'OK', wait until reqDelay expires (So we don't bombard their servers with AJAX reqs), then process next friend request