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

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, Greasemonkey alebo Violentmonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, % alebo Violentmonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey alebo Userscripts.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie správcu používateľských skriptov.

(Už mám správcu používateľských skriptov, nechajte ma ho nainštalovať!)

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

(Už mám správcu používateľských štýlov, nechajte ma ho nainštalovať!)

// ==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 {}