YouTube Original Audio Selector

Automatically sets YouTube videos to their original audio language

目前为 2024-12-08 提交的版本。查看 最新版本

作者
Alice Luna Sparkuhl
评分
0 0 0
版本
1.3
创建于
2024-12-06
更新于
2024-12-08
大小
7.6 KB
许可证
MIT
适用于

# YouTube Original Audio Selector

Automatically sets YouTube videos back to their original audio language instead of the auto-translated English version.

## Tags
`youtube` `audio` `language` `translation` `auto-translate`

## Features
- Automatically detects when you load a YouTube video
- Only activates when multiple audio tracks are available
- Efficiently switches to original audio track without unnecessary menu interactions
- Works when navigating between videos without page reload
- Closes the settings menu and removes tooltips after making the change
- Includes debug logging in console for troubleshooting
- Clean resource management to avoid performance impact

## How it works
The script automatically:
1. Detects if the video has multiple audio tracks
2. Only if multiple tracks exist:
- Opens the settings menu
- Selects "Audio track" option
- Chooses the original language track
- Closes the settings menu
3. Cleans up after completion

## Installation
1. Install Tampermonkey browser extension
2. Install this script
3. Visit any YouTube video - it will automatically select the original audio track

## Troubleshooting
If you need to debug issues, open your browser's console (F12 -> Console tab) to see detailed logs of what the script is doing.

## Version History
- v1.2: Added resource cleanup and performance optimizations
- v1.1: Fixed tooltip issues and improved memory management
- v1.0: Added detection of multiple audio tracks before menu interaction
- v0.3: Added automatic menu closing, optimized timing delays
- v0.2: Added debug logging
- v0.1: Initial release

## Support
If you encounter any issues or have suggestions, please leave a comment on this script's page.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址