the most efficient script to bring back youtube full description

this is a scrip restore the ability to show youtube full description if. because youtube try to force us to use the new layout by breaking the old layout. there are two other scripts that do the same thing but this scrip is the most efficient. because other scrips use 2 or 3 variables but this script use only one variable and it is the shortest one

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name        the most efficient script to bring back youtube full description
// @version     1
// @match        *://www.youtube.com/*
// @grant       GM_addStyle
 
// @namespace https://greasyfork.org/users/587153
// @description this is a scrip restore the ability to show youtube full description if. because youtube try to force us to use the new layout by breaking the old layout. there are two other scripts that do the same thing but this scrip is the most efficient. because other scrips use 2 or 3 variables but this script use only one variable and it is the shortest one
// ==/UserScript==
if (document.querySelector('button[data-gen204="feature=watch-show-more-metadata"]') == null) {
function GM_addStyle(text)
{
  var newHTML = document.createElement("div");
  newHTML.innerHTML = text;
  document.getElementById("action-panel-details").appendChild(newHTML);
}
GM_addStyle("<button class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-expander yt-uix-expander-head yt-uix-expander-collapsed-body yt-uix-gen204\" type=\"button\" onclick=\";return false;\" data-gen204=\"feature=watch-show-more-metadata\"><span class=\"yt-uix-button-content\">Show more</span></button>")
GM_addStyle("<button class=\"yt-uix-button yt-uix-button-size-default yt-uix-button-expander yt-uix-expander-head yt-uix-expander-body\" type=\"button\" onclick=\";return false;\"><span class=\"yt-uix-button-content\">Show less</span></button>")
} else {}