PornHub PervertMonkey

Infinite scroll [optional]. Filter by Title, Uploader and Duration. Sort by Duration and Views

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu betiği yüklemek için bir betik yöneticisi eklentisi yüklemeniz gerekecektir.

(Zaten bir betik yöneticim var, hadi yükleyelim!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name         PornHub PervertMonkey
// @namespace    pervertmonkey
// @version      4.0.20
// @author       violent-orangutan
// @description  Infinite scroll [optional]. Filter by Title, Uploader and Duration. Sort by Duration and Views
// @license      MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pornhub.com
// @homepage     https://github.com/smartacephale/sleazy-fork#readme
// @homepageURL  https://sleazyfork.org/en/users/1253342-smartacephale
// @source       https://github.com/smartacephale
// @supportURL   https://github.com/smartacephale/sleazy-fork/issues
// @match        https://*.pornhub.com/*
// @exclude      https://*.pornhub.com/embed/*
// @require      https://cdn.jsdelivr.net/npm/[email protected]/dist/core/pervertmonkey.core.umd.js
// @grant        GM_addStyle
// @grant        unsafeWindow
// @run-at       document-idle
// ==/UserScript==

var core = window.pervertmonkey.core || pervertmonkey.core;
var utils = core;


(function (core) {
  'use strict';

  new core.Rules({
    paginationStrategyOptions: {
      paginationSelector: ".paginationGated",
      overwritePaginationLast: (n) => n === 9 ? 9999 : n
    },
    containerSelector: () => [...document.querySelectorAll("ul:has(> li[data-video-vkey])")].filter((e) => e.children.length > 0 && e.checkVisibility()).sort((a, b) => b.children.length - a.children.length)?.[0],
    containerHomogenity: { id: true, className: true },
    thumbs: { selector: "li[data-video-vkey]" },
    thumb: {
      selectors: {
        title: "span.title",
        uploader: ".usernameWrap",
        duration: ".duration",
        views: { selector: ".views", type: "float" }
      }
    },
    thumbImg: {
      selector: ["data-mediumthumb", "data-image"]
    },
    gropeStrategy: "all-in-all",
    schemeOptions: [
      "Title Filter",
      "Uploader Filter",
      "Duration Filter",
      "Sort By",
      "Badge",
      "Advanced"
    ]
  });
  function bypassAgeVerification() {
    cookieStore.set({
      name: "accessAgeDisclaimerPH",
      value: "2",
      expires: Date.now() + 90 * 24 * 60 * 60 * 1e3
    });
    document.querySelectorAll('[data-label="over18_enter"]').forEach((b) => {
      b.click();
    });
  }
  bypassAgeVerification();

})(core);