xxzefgh / youtube-classic-extension

Restore Classic YouTube!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

See more in description

sliperhr opened this issue · comments

how to fix the see more in the description
Screenshot_1

Can confirm I have the same issue

Modern

The collapsed description box
new-less
The expanded description box
new-more

Classic

The description box, which is missing the button to expand/collapse or show more/less. Part of the description is not visible because of this
classic

Possible solution

I don't know in the slightest how this extension works, but after inspecting I found that when removing this specific class from this specific div, the description is expanded.
inspector

So changing

<div id="action-panel-details" class="action-panel-content yt-uix-expander yt-card yt-card-has-padding yt-uix-expander-collapsed">

to

<div id="action-panel-details" class="action-panel-content yt-uix-expander yt-card yt-card-has-padding">

Result of removing that css class
classic-fixed

It is a temporary fix but not something that fixes the root problem (i think).

also #36 looks to be about the same issue

I have another temporary solution.
Make a JavaScript bookmarklet with the following code as the "location/address":

javascript:(function(){document.getElementById("watch-description-text").style.maxHeight = "none";})();

Clicking this should expand the description when viewing a video.

I have also noticed that some videos have the "Show More" still available, but many do not.