Greasy Fork is available in English.

Youtube UI Fix

Moves the controls under the video and makes the UI look like it was before august 2015

< Youtube UI Fixについてのフィードバック

レート:可 - スクリプトは動作するがバグがある

q1k
§
投稿日: 2022/04/14

Unfortunately, we can't change the options anymore. Please fix

q1k
§
投稿日: 2022/04/14

For the time being, you can change the defaults in the code, lines 33-44

    YtNewUIFix.prototype.readOptions = function () {
        this.setOption("addWatchLater", true);
        this.setOption("showControlsFullscreen", true);
        this.setOption("showControlsNonFullscreen", true);
        this.setOption("changeColorsFullscreen", true);
        this.setOption("changeColorsNonFullscreen", true);
        this.setOption("removeAnimations", false);
        this.setOption("optionsReversed", false);
        this.setOption("progressBigger", false);
        this.setOption("showTitleOnHover", false);
        this.setOption("alwaysVolume", false);
    };

simply change the values true->false, and vice versa.
One option that you might want to change (i certainly do), is "showControlsFullscreen" to false
Please fix this, so we don't have to deal with this.

§
投稿日: 2024/02/25

I was able to fix this.

To load the options on the pages
https://www.youtube.com/ui_fix_options,
https://www.youtube.com/embed/ui_fix_options,
https://www.youtube-nocookie.com/embed/ui_fix_options, and
https://youtube.googleapis.com/embed/ui_fix_options
Go to line 357 and replace return; with // return;

To load the options on https://www.youtube.com/account_playback
Go to line 59 and replace this.addOptions(); with sleep(1000).then(() => { this.addOptions();}); and at the end of the script add

function sleep(ms) {
  return new Promise(resolve => setTimeout(resolve, ms));
}

PS: Remember that the options won't load on https://www.youtube.com/account_playback if the page is dynamically loaded, if you navigate there from another YouTube page you will need to refresh the page to load the Youtube UI Fix Options.

返信を投稿

返信を投稿するにはログインしてください。