JavSS

为 javdb、javbus 添加视频缩略图,菜单栏可直接按番号查找

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.

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.

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

ئاپتورى
vortexecho
بۈگۈن قاچىلانغىنى
2
جەمئىي قاچىلانغىنى
112
باھا نومۇرى
2 0 0
نەشرى
2.0.1
قۇرۇلغان ۋاقتى
2025-07-06
يېڭىلانغان ۋاقتى
2025-08-18
Size
19.6 KB
ئىجازەتنامىسى
MIT
قوللايدىغىنى

JavSS


无法获取到图片时,右键-检查-控制台

显示请求超时时,修改 TIMEOUT 为更大值(如 10000)

检查 javbee.vipjavstore.net 以及获取到的图片地址是否被代理


  • javdb 影片列表 宽度 100%
  • javdb 影片列表 方向键滚动与翻页
  • 导航栏和扩展菜单栏可直接按番号查找缩略图

// @connect * 是因为要跨域查找图片地址,需要允许全部

其他网站可添加到 @match 使用菜单栏搜索

配置


  • TIMEOUT = 8000 超时时间为 8000ms(8s),即每次 XHR 请求超过 8s 直接跳过当前图源,使用下一个图源继续查找,所以需要根据自己的代理速度设置。值太低会导致——能获取到缩略图的情况下,当前图源很快被跳过,值太高可能会导致——图源没被正确代理等情况下,卡在 DNS 解析或服务器未响应时间过长,例如配置为 5s 时,一个一般有两个阶段(stage)的图源会耗时 10s 才跳到第二个图源继续查找

  • DEBUG_MODE = true 时会测试所有图源以及耗时,结果输出在开发者工具控制台,方便调整图源的查找顺序

XXXX-XXX
    Source javstore
   ⏳ 耗时: 1234.20ms (1.2s)
    Source javbee
   ⏳ 耗时: 4735.10ms (4.7s)
    Source 3xplanet
   ⏳ 耗时: 1910.40ms (1.9s)
  • IMAGE_SOURCES 为缩略图源,会按顺序查找并显示第一个找到的缩略图,有其他图源也可以反馈添加

  • SITE_CONFIGS 为各种 CSS 选择器,番号、跳转链接插入位置、图片插入位置等选择器

图源


  • javbee 资源全,但速度慢
  • javstore 速度快,但缩略图内容少
  • javstore old 图源在搜索旧番号时使用,需要的话可以取消注释
  • 3xplanet 有验证问题,一段时间内需要先点击图片跳转一次(新版本已注释掉)

补充


localStorage 存储按源(Origin)隔离,不同的网站无法访问到相同番号的缓存地址

如果有需要所有网站访问同一缓存,可以在 // ==UserScript== 里面添加:

// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_deleteValue

并替换脚本中的三处:

  • localStorage.getItem --> GM_getValue
  • localStorage.setItem --> GM_setValue
  • localStorage.removeItem --> GM_deleteValue