JavLib搜索番号

支持点击识别码搜寻番号

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

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 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.

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

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

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

// ==UserScript==
// @name              JavLib搜索番号
// @namespace         http://www.javlibrary.com    
// @version           0.0.15
// @icon              http://www.d21b.com/favicon.ico
// @description       支持点击识别码搜寻番号
// @author            boxerw
// @match             *://www.d21b.com/*
// @match             *://www.javlibrary.com/*
// @match             *://www.w24j.com/*
// @match             *://www.k25m.com/*
// @match             *://www.p26y.com/*
// @match             *://www.d28k.com/*
// @match             *://www.v27f.com/*
// @match             *://www.u29k.com/*
// @match             *://www.q30x.com/*
// @match             *://www.t33r.com/*
// @match             *://www.m34z.com/*
// @match             *://www.w35p.com/*
// @match             *://www.f37b.com/*
// @require           https://cdn.jsdelivr.net/npm/[email protected]/jquery.xpath.js
// @run-at            document-end
// ==/UserScript==
(function () {
    var videoIDNode = $(document.body).xpath("//*[@id='video_id']/table/tbody/tr/td[2]")[0]
    if (null == videoIDNode)
    {
        return
    }

    if (null == videoIDNode.innerHTML || "" == videoIDNode.innerHTML)
    {
        return
    }
        
    var videoIDText = videoIDNode.innerHTML.trim()
  
    videoIDNode.innerHTML = "<a href='https://aliciliba.org/list/" + videoIDText + "/1-0-0' target='_blank'>" + videoIDText + "</a>"
    
})();