YouTube - Proper Description

Description below the video with proper open/close toggle, instead of a side bar.

2022/05/11のページです。最新版はこちら

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
作者
q1k
評価
0 0 0
バージョン
1.1.0
作成日
2022/02/25
更新日
2022/05/11
大きさ
4.96KB
ライセンス
不明
対象サイト

YouTube changed the description box below the video.
This script tries to revert to the old proper description style layout as well as the one without the side bar.

Note:
Install if your description has changed to the compact version or the 'show more' button opens in a side bar and you want to bring it back.
There is no need to install this if you still have the original behavior (Unless you want to be prepared).

Additional:
In versions prior to 1.1.0 I had a wider description expander button (shown in screenshot 'after').
If you like it like that, you can install that as a new userstyle using Stylus extension,

here's the code:

#meta ytd-video-secondary-info-renderer, 
#primary #meta #description_open, 
#primary #meta #description_close { border-color: rgba(0,0,0,0.125); padding-bottom: 0; border-bottom: none; }
#meta ytd-expander.ytd-video-secondary-info-renderer, 
#meta ytd-expander.ytd-video-secondary-info-renderer > * { margin-left: 0; }
#meta #description_open, #meta #description_close { width: 100%; border-top: 1px solid; border-radius: 0; text-align: center; cursor: pointer; margin-top: 1em; background: linear-gradient(rgba(0,0,0,0.02), transparent); }
[dark] #meta #description_open, 
[dark] #meta #description_close { background: linear-gradient(rgba(255,255,255,0.02), transparent); }
#meta #description_open:hover, 
#meta #description_close:hover { background: rgba(0,0,0,0.03); }
[dark] #meta #description_open:hover, 
[dark] #meta #description_close:hover { background: rgba(255,255,255,0.03); }
#meta #description_open .desc_text, 
#meta #description_close .desc_text { margin: 0; padding: 4px; }

Another thing you can do is send feedback directly to Youtube that you don't like the new changes.