/pornhub-bulk-accept-friend-requests

Pornhub Auto-Accept Friend Requests - UserScript. Add this userscript to GreaseMonkey or TamperMonkey to use.

Primary LanguageJavaScript

Installation

  1. Open GreaseMonkey and copy/paste the code from pornhub-accept-friend-requests.js as a new userscript.
  2. Enable the userscript.

Usage

  1. Navigate to https://www.pornhub.com/user/friend_requests to auto-accept all the friend requests on the page.

Table of Contents

jq

Pornhub - Bulk Accept Friend Requests

Meta

jq

Load jQuery Library from CDN, and inject into page's head

delay

Configuration - You can change these settings if needed.

Type: number

reqDelay

Variables for this script. DO NOT CHANGE (Unless you know what you're doing)

baseUrl

requests

Requests Array Index

push

aReq Index

push

End Variables

loopArray

Send one request at a time through the AJAX endpoint, then wait for a callback before continuing

Parameters

  • r

loopArray

Begin looping through friend requests and send then to sendReq

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

log

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

log