☰

JavDatabase PervertMonkey

Adds search movie links

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

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

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

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

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

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

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

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

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

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

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

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

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

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

作者のサイトでサポートを受ける。または、このスクリプトの質問や評価の投稿はこちら、通報はこちらへお寄せください
// ==UserScript==
// @name         JavDatabase PervertMonkey
// @namespace    pervertmonkey
// @version      1.0.1
// @author       violent-orangutan
// @description  Adds search movie links
// @license      MIT
// @icon         https://www.google.com/s2/favicons?sz=64&domain=javdatabase.com
// @homepage     https://github.com/smartacephale/sleazy-fork#readme
// @homepageURL  https://sleazyfork.org/en/users/1253342-smartacephale
// @source       https://github.com/smartacephale/sleazy-fork
// @supportURL   https://github.com/smartacephale/sleazy-fork/issues
// @match        https://www.javdatabase.com/*
// @require      https://cdn.jsdelivr.net/npm/[email protected]/dist/core/pervertmonkey.core.umd.js
// @grant        none
// @run-at       document-idle
// ==/UserScript==

var ___core = window.pervertmonkey.core || pervertmonkey.core;
var ___utils = ___core;


(function() {
	"use strict";
	var websites = [
		{
			name: "missav.ws",
			url: (u) => `https://missav.ws/en/search/${u}`
		},
		{
			name: "javhdporn.net",
			url: (u) => `https://www.javhdporn.net/search/${u}/`
		},
		{
			name: "javxxx.me",
			url: (u) => `https://www.javxxx.me/search/${u}/`
		}
	];
	function createLinks(name) {
		return `<div style='display: flex;' >${websites.map((w) => `
      <a target="_blank" style='padding: 2px;' href="${w.url(name)}">
        <img class='wp-postratings-item' src="https://www.google.com/s2/favicons?sz=64&domain=${w.name}">
      </a>`).join(" ")}</div>`;
	}
	document.querySelectorAll(".card").forEach((e) => {
		const title = e.querySelector(".cut-text")?.innerText.trim() || "";
		console.log({ title });
		if (title?.length === 0) return;
		e.innerHTML += createLinks(title);
	});
})();