进入抖音网页和切换视频时自动暂停并静音;用户点击播放时自动打开声音,下一个视频重新静音并自动暂停。
### 脚本功能
- 打开抖音网页(https://www.douyin.com/*)时,自动暂停当前视频并静音。
- 下滑到新的视频时,新视频也会自动暂停并静音,避免自动播放和“洗脑式”开场白。
- 当用户主动点击播放(或键盘等操作)时:
- 当前视频自动开始播放;
- 自动取消静音并恢复声音;
- 其他视频会被自动暂停并静音。
### 使用方法
1. 安装油猴插件(Tampermonkey / Violentmonkey 等)。
2. 在 Greasy Fork 上安装本脚本。
3. 打开 https://www.douyin.com/ 的推荐页或视频页即可生效。
4. 遇到想看的视频时,手动点击播放按钮即可,脚本会自动帮你开启声音。
### 适用场景
- 不想被抖音自动播放干扰,只在自己想看的时候才播放。
- 养成“主动选择信息输入”的习惯,减少被动刷视频的时间。
### English Description
This userscript automatically **pauses and mutes** all videos on Douyin (https://www.douyin.com/*) when the page loads or when you scroll to a new video.
When you **manually** play a video (click/play key), it will:
- allow the video to play,
- automatically unmute the current video,
- pause and mute all other videos.