🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

YouTube HD Premium

Automatically switches to your pre-selected resolution. Enables premium when possible.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Autor
ElectroKnight22
Instalaciones diarias
24
Instalaciones totales
10.458
Calificaciones
40 2 2
Versión
2025.11.20.4
Creado
17/6/2024
Actualizado
20/11/2025
Tamaño
15,6 KB
Licencia
MIT
Funciona en

Description:

This script ensures that all YouTube videos (including Shorts) play at the user's preferred quality setting. It supplements YouTube by addressing the issue where the browser version does not allow users to save their quality preference. The script monitors whether the video quality can be adjusted and uses the YouTube API to apply the chosen setting. No bloat, doesn't do anything else, just sets quality.

Features:

  • Lets you save a preferred video quality.
  • Sets the video quality to your choice.
  • Uses a UI menu for easy quality selection. [New]
  • Automatically applies Premium bitrate when available. [Requires YouTube Premium]

Notes:

  • If your chosen quality is unavailable, the next best available option will be used.
  • The quality preference applied by the script can be temporarily overridden through the native YouTube UI.

Compatibility Status:

  • COMPATIBLE with YouTube in all languages.
  • COMPATIBLE with YouTube videos that are embedded in other sites.
  • COMPATIBLE with most desktop browsers, but the ability to change settings relies on the script loader having the ability to display custom menu items.
  • COMPATIBLE with the mobile website (m.youtube.com).

Extra comments from me:

Summary:
This script is modified from YouTube HD by adisib. Since adisib's script is severely outdated, this script was created to fix broken functionality and improve user experience. At this point, this script is completely different from adisib's, with new features and a separate objective.

What has been changed:
The way the Premium bitrate option was written by adisib contained a bug that made the script treat the Premium option as unconditionally unavailable. It would also fail to apply premium bitrate if YouTube was set to anything other than English. Fixing those issues was a major goal of this script. All broken or outdated features have been fixed or removed.

What's new:
A UI menu has been added for user preference management. Adisib required users to edit the script directly when choosing their quality preference, which was very unintuitive and caused frequent false bug reports. My implementation should hopefully be more convenient, and be compatible with most users' browser + script-manager combinations.

(Updated Sep/12/2025)