YouTube Audio Output Picker

Pick a preferred audio output device for HTML5 audio and video elements.

As of 2025-06-18. See the latest version.

Author
hacker09
Ratings
0 0 0
Version
1
Created
2025-06-18
Updated
2025-06-18
Size
2.7 KB
License
N/A
Applies to
All sites
How to Install scripts? (Click here)

If you like my work, please consider supporting it!

Cryptos https://cyber-sec0.github.io

https://www.patreon.com/hacker09

How it works

The extension finds HTML5 <audio/> and <video/> elements within the document tree and manipulates the sinkId in order to switch to the preferred audio output device. It finds Audio and Video.

It's possible to store/remember a preferred audio output device per site/domain, the script's option panel.

Note that the Media Capture and Streams API requires media (microphone) permissions to be granted to every site with audio sinks that need to be manipulated, which – as a result – allows those sites to access your microphone. Hence the script only acquires permissions when the user actually picks a non-default device for a site and restores permissions when the user reverts back to using the default.