bilibili-touch-enhancer

单击显示/隐藏控制栏,双击播放/暂停,长按倍速播放,左右滑动调节播放进度,上下滑动调节亮度/音量

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
zwb101325
Daily installs
0
Total installs
7
Ratings
0 0 0
Version
1.9.0
Created
2026-04-15
Updated
2026-04-23
Size
18.9 KB
License
MIT
Applies to

Bilibili Touch Enhancer

为触屏设备优化的 Bilibili 网页播放器手势增强脚本

✨ 功能特性

手势 动作 反馈
单击 显示/隐藏控制栏
双击 播放/暂停
长按 进入倍速播放 倍速闪烁动画
横向滑动 调节视频进度 显示当前时间 / 总时长
左半屏纵向滑动 调节亮度 显示亮度百分比 (0–100%)
右半屏纵向滑动 调节音量 显示音量百分比 (0–100%)

⚙️ 参数配置

参数 默认值 单位 说明
PRESS_DELAY 300 毫秒 长按触发时间
TARGET_SPEED 3.0 长按播放速度
CLICK_TIMEOUT 200 毫秒 双击判定间隔
TOAST_DELAY 500 毫秒 提示框的显示持续时间
HORIZONTAL_SENS 0.7 播放器宽度 横向滑动灵敏度
VERTICAL_SENS 0.5 播放器高度 纵向滑动灵敏度

🚀 使用说明

在 Bilibili 视频播放页面中,直接使用触屏或鼠标手势操作:

  • 单击:显示 / 隐藏控制栏
  • 双击:播放 / 暂停
  • 长按:倍速播放
  • 横向滑动:调节视频进度
  • 左半屏纵向滑动:调节亮度
  • 右半屏纵向滑动:调节音量

📦 安装

  1. 安装 Tampermonkey 浏览器扩展
  2. 访问 本脚本页面
  3. 点击「安装此脚本」

💻 兼容性

  • 适用于 Bilibili 网页播放器
  • 支持常见浏览器(Edge / Chrome 等)
  • 适用于触屏设备(Surface / Yoga / MateBook 等)
  • 同样支持鼠标操作

⭐ 支持项目

如果这个项目对你有帮助,欢迎到 GitHub 点个 ⭐ Star 支持一下!