YouTube HD Override

Makes YouTube videos run in high definition + YouTube fixes

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Prehistoricman
日安装量
0
总安装量
6,738
评分
32 3 2
版本
2.10.0
创建于
2014-10-26
更新于
2023-02-21
大小
6.8 KB
许可证
MIT
适用于

A simple auto-HD script, which does not re-format the page as YouTube Center does. Very fast.


Features:

  • Sets the resolution of all videos on YouTube to the resolution set in the script.
  • Disables autoplay on video pages.
  • Pauses videos on channel/user pages.
  • Pauses videos if a video is started on an inactive tab.

All of these features can be disabled with some console commands. Go to a YouTube page, open the console, and settings are stored in an HDOSettings object. It has properties:

  • HD (true/false)
  • VideoAutoPlay (true/false)
  • ChannelAutoPlay (true/false)
  • PauseInvisible (true/false)
  • HighestQuality (number from 1 to 9)

Change these as you like, and run SaveHDOSettings() in the console to save your settings. See screenshot for help. For example, this code will set the desired quality, enable autoplay and save changes:

HDOSettings.HighestQuality = 5
HDOSettings.VideoAutoPlay = true
SaveHDOSettings()

Quality levels

Default is 1080p (6). Set HighestQuality to a number between 1 and 9 accordingly:

  1. 144p
  2. 240p
  3. 360p
  4. 480p
  5. 720p
  6. 1080p
  7. 1440p
  8. 4K (deprecated)
  9. 4K