Greasy Fork is available in English.

YouTube HD Override

Makes YouTube videos run in high definition + YouTube fixes

Auteur
Prehistoricman
Installations (jour)
0
Installations (total)
4 931
Notes
27 1 1
Version
2.9.4
Créé
Mis à jour
Licence
N/A
S'applique à

Description de l'auteur

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 DASH playback
  • Disables autoplay on video pages.
  • Pauses videos on channel/user pages.
  • Pauses videos if a video is started on an inactive tab.
  • Converts links in comments to open in a new tab
  • Disables switching to the sharing tab at the end of a video

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)
  • DASHPlayback (true/false)
  • ChannelAutoPlay (true/false)
  • PauseInvisible (true/false)
  • HighestQuality (number from 1 to 9)
  • CommentNewTab (true/false)
  • DisableShareAfterVideo (true/false)

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 (2160p)
  9. 4K for HTML5 video player