Ebalka PervertMonkey

Infinite scroll [optional], Filter by Title and Duration

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         Ebalka PervertMonkey
// @namespace    pervertmonkey
// @version      3.0.0
// @author       violent-orangutan
// @description  Infinite scroll [optional], Filter by Title and Duration
// @license      MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=ebalka.nl
// @homepage     https://github.com/smartacephale/sleazy-fork
// @homepageURL  https://github.com/smartacephale/sleazy-fork
// @source       github:smartacephale/sleazy-fork
// @supportURL   https://github.com/smartacephale/sleazy-fork/issues
// @match        https://a.ebalka.love/*
// @match        https://b.ebalka.zip/*
// @match        https://*ebalka.*.*/*
// @match        https://*.ebalk*.*/*
// @match        https://*.fuckingbear*.*/*
// @require      https://cdn.jsdelivr.net/npm/[email protected]/dist/core/pervertmonkey.core.umd.js
// @require      data:application/javascript,var core = window.pervertmonkey.core || pervertmonkey.core; var utils = core;
// @grant        GM_addStyle
// @grant        unsafeWindow
// @run-at       document-idle
// ==/UserScript==

(function (core, utils) {
  'use strict';

  new core.RulesGlobal({
    containerSelectorLast: ".content__video",
    paginationStrategyOptions: {
      paginationSelector: ".pagination:not([id *= member])"
    },
    thumbsSelector: ".card_video",
    titleSelector: ".card__title",
    durationSelector: ".card__spot > span:last-child",
    animatePreview,
    schemeOptions: ["Text Filter", "Badge", "Duration Filter", "Advanced"]
  });
  function animatePreview(container) {
    function animateThumb(thumb) {
      const el = thumb.querySelector(".card__thumb_video");
      el.classList.toggle("video-on");
      const src = el.querySelector(".card__image")?.getAttribute("data-preview");
      const videoElem = utils.parseHtml(`<video style="position: absolute; left: 0px; top: 0px; visibility: visible; margin-top: -1px;"
      autoplay="" loop="" playsinline="true" webkit-playsinline="true" src="${src}"></video>`);
      el.appendChild(videoElem);
      return () => {
        el.classList.toggle("video-on");
        utils.exterminateVideo(videoElem);
      };
    }
    utils.onPointerOverAndLeave(
      container,
      (target) => target.tagName === "IMG",
      (target) => {
        const thumb = target.closest(".card");
        const onOverCallback = animateThumb(thumb);
        return { leaveTarget: thumb, onOverCallback };
      }
    );
  }

})(core, utils);