Greasy Fork is available in English.

Youtube - right side description with toggle button

Relocates the description to the right side and creates a button on the header to toggle with related videos

< Feedback on Youtube - right side description with toggle button

Değerlendirme: İyi - script çalışıyor

§
Gönderildi: 02.08.2022
Düzenlendi: 02.08.2022

Very good script and it also works if you scroll down a fullscreen video. It would be even better if the comment section is also included below the description or an option to add it below, and the button directly above the description instead of it being in the header of the page.

barn852Sahip
§
Gönderildi: 13.08.2022

Thanks @Høly Spirit, I'm happy to get a divine feedback :) For me the comments are completely eliminated, but it's possible to make a version with comments below the description. I will try to make it later. Or maybe I will make the toggle button work in 3 stages: description -> related vids -> comments -> ... Let's pray for it.

§
Gönderildi: 14.08.2022
Düzenlendi: 14.08.2022

It would be better if the video stays and only the desc with the comments/the related videos are the ones scrollable. But if it isn't possible, it's okay. Maybe I can find or create a workaround myself. Thanks in advance.

barn852Sahip
§
Gönderildi: 14.08.2022

On my laptop I also fix the player, exactly as you suggested above, but as I mentioned, for me comments are eliminated. Just create a new script like this:

// ==UserScript==
// @name        Youtube player fixed position for Høly Spirit
// @match       *://*.youtube.com/*
// @grant       GM_addStyle
// @version     1.0
// @run-at      document-end
// ==/UserScript==

GM_addStyle(`
  #primary-inner { 
    position: fixed !important; 
    width: calc(var(--ytd-watch-flexy-max-player-height) * (16 / 9)) !important; 
  }
`);

However it's not a perfect solution, you will see if you use it for a while. Also cinema mode (dark surroundings) does not work.

§
Gönderildi: 17.08.2022
Düzenlendi: 17.08.2022

@barn, I found a solution to fix the position of the player.

// ==UserScript==
// @name        Youtube player fixed position for Høly Spirit (v2)
// @match       *://*.youtube.com/*
// @grant       GM_addStyle
// @version     1.0
// @run-at      document-end
// ==/UserScript==

GM_addStyle(`
  body {
  overflow: hidden; /* Hide scrollbars */
  }
  #secondary {
  max-height:calc( (var(--ytd-watch-flexy-max-player-width) * (9/16)) + 10vh) !important;
  overflow: auto !important;
  }
`);
§
Gönderildi: 17.08.2022

A better one using a bad way of hiding the scrollbar.

GM_addStyle(`
  body {
    overflow: hidden; /* Hide scrollbars */
  }
  #secondary {
    max-height:calc( (var(--ytd-watch-flexy-max-player-width) * (9/16)) + 10vh) !important;
    overflow-y: auto !important;
  }
  ::-webkit-scrollbar {
    width: 10px;
  }
`);
barn852Sahip
§
Gönderildi: 18.08.2022

Thanks. Not that 'bad'... gonna use it for a while if everything ok with it.

Cevap paylaş

Yanıt göndermek için oturum açın.