YouTube HD Override

Prehistoricman
2014-10-26T23:24:28Z

Makes YouTube videos run in high definition + YouTube fixes

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