[English below]
这是一个 Tampermonkey 用户脚本,可在Bilibili视频时间轴上选取片段循环播放,支持无限循环及刷新页面后设置持久保存。例如:学习英语时可反复播放某段对话,便于听力练习。
- 支持自定义循环片段的开始和结束时间
- 支持设置循环次数或无限循环
- 支持刷新页面后设置自动恢复
- 操作界面美观,易用
- 安装 Tampermonkey 浏览器扩展。
- 新建脚本,将
main.js内容粘贴进去并保存。
- 打开任意 Bilibili 视频页面
- 点击左下角 BiliLoop 按钮,设置循环片段和次数
- 支持无限循环和刷新页面后自动恢复
欢迎提交 Issue 或 PR。
This is a Tampermonkey user script that allows you to select a segment on the Bilibili video timeline and loop it. It supports infinite looping and settings persistence after page refresh.
- Customize start and end time of the loop segment
- Set loop count or infinite loop
- Settings are restored after page refresh
- Beautiful and user-friendly interface
- Install Tampermonkey browser extension.
- Create a new script and paste the content of
main.jsinto it, then save.
- Open any Bilibili video page
- Click the BiliLoop button at the bottom left to set the loop segment and count
- Supports infinite loop and auto restore after refresh
Feel free to submit issues or pull requests.