🏠 

Greasy Fork is available in English.

YouTube Original Audio Selector

Automatically sets YouTube videos to their original audio language


安装此脚本?

作者
Alice Luna Sparkuhl
日安装量
1
总安装量
50
评分
0 0 3
版本
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.3: Made Germany-centric logic universal
  • 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.