YouTube - Proper Description

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

< Σχολιασμός για τον κώδικα YouTube - Proper Description

Αναφορά: Εντάξει - ο κώδικας λειτουργεί αλλά έχει σφάλματα

§
Δημοσιεύτηκε: 30/06/2022

When I use this script, the Show More/Less buttons don't render properly. After digging into it some more, it appears that I'm getting an error saying "yt is not defined" when it tries to set the strings on the buttons.

Fixed it locally by being more defensive and changing the ternary to first check typeof yt !== "undefined" and that works afterwards, thought I'd mention it so it can be included in the script.

Firefox 101, script v1.3.6, Greasemonkey 4.11

q1kΔημιουργός
§
Δημοσιεύτηκε: 01/07/2022

That would be a Greasemonkey issue.
It's better to use Tampermonkey instead.

Anyway, I've added that check to v1.3.7

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.