Sleazy Fork is available in English.

JAV Library Sukebei Link

A a link to search on Sukebei from a JAV Library video.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         JAV Library Sukebei Link
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  A a link to search on Sukebei from a JAV Library video.
// @author       ReaperUnreal
// @match        https://*.javlibrary.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=javlibrary.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    const movieId = document.title.split(' ')[0];
    if (movieId.match(/\w{2,7}-\d{2,5}/).length < 1) {
        console.warn(`Movie '${movieId}' is not in appropriate format.`);
        return;
    }

    const searchUrl = `https://sukebei.nyaa.si/?f=0&c=0_0&q=${movieId.toLocaleLowerCase()}`;

    const videoInfoSection = document.getElementById('video_info');

    const linkSection = document.createElement('div');
    videoInfoSection.appendChild(linkSection);

    const link = document.createElement('a');
    linkSection.appendChild(link);

    link.href = searchUrl;
    link.innerText = 'Sukebei Link';
    link.style.paddingLeft = '2em';
    link.style.paddingTop = '1em';
})();