🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Bilibili 视频时间轴

根据视频字幕, 生成视频时间轴.

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 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!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Author
AliubYiero
Daily installs
0
Total installs
12
Ratings
0 0 0
Version
1.3.8
Created
2025-01-06
Updated
2025-01-06
Size
24.8 KB
License
GPL-3
Applies to

Bilibili 视频时间轴

建议使用 脚本猫 安装.

简介

通过B站外挂字幕, 在页面中加载一个时间轴容器, 支持以下功能:

  • 显示当前播放视频的上下文.
  • 通过显示文本, 快速跳转至对应的时间点.
  • 高亮当前正在播放的字幕.
  • 快速复制时间点. (需使用 ScriptCat 安装)
  • 快速复制文本. (需使用 ScriptCat 安装)

配置

菜单按钮

  • 生成时间轴: 如果当前视频存在字幕, 那么有几个字幕就会对应几个选项.
  • 刷新: 刷新当前页面的视频时间轴列表, 通常在页面内 切换视频/切换分P/切换合集 时使用. 正常情况下不需要使用该选项, 在切换视频 时, 会自动刷新视频时间轴列表.

容器选项

点击 生成时间轴 菜单按钮之后, 在生成的时间轴容器中存在以下两个按钮:

  • 时间轴居中: 开启后, 高亮字幕将始终锁定在时间轴容器 30% 的位置, 不再需要手动去滚动容器.

虽然叫 时间轴居中 , 但是位置并不是 50% 的位置, 这是之前版本的改变, 因为 50% 的位置看着并不是很舒服.

后续可能添加用户配置, 让用户可以选择时间轴锁定的位置.

  • 跳过空白: 开启后, 字幕之间的间隔, 会自动跳过空白时间. 鼠标浮动在该选项上时, 会显示当前视频的总空白时长.

[Warn] 如果网速不是很好的话, 频繁地跳转视频可能会因为视频频繁加载, 导致观看的时间反而可能更长.

脚本猫用户配置

以下选项都默认 关闭 .

  • 自动加载时间轴: 开启后, 进入页面将不用在手动点击菜单按钮中的 生成时间轴 , 会自动生成时间轴容器 (使用第一个字幕). 如果视频存在多个字幕, 并且需要调用的文本不是第一个字幕, 则需要手动生成.
  • 自动复制时间: 开启后, 点击字幕的开始时间, 在跳转视频的同时, 会同时将该时间复制到剪切板中.
  • 自动复制文本: 开启后, 点击字幕的文本, 在跳转视频的同时, 会同时将该文本复制到剪切板中.
  • 禁止选中文本: 开启后, 如果上面的 自动复制(时间/文本) 选项是勾选状态, 则对应的内容(时间/文本)将处于无法选中状态.