JavLib搜索番号

支持点击识别码搜寻番号

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

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==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>"
    
})();