Auto-Expand YouTube Description
  • I'd love to see a style that expands the video description on YouTube automatically. I'm already rolling without comments, and this would make my YouTube experience perfect.

    I've tried messing with it myself, but as I am no CSS guru, it has proved to be somewhat complicated. I'd appreciate it if someone could do this. I'm sure I'm not the only one who would appreciate it.

    Thanks in advance! :)
  • Works for me.

    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document domain("youtube.com") {

    #watch-description-clip {position: static !important}
    #watch-description-extras {display: block !important}

    #watch-description-fadeout,
    #watch-description-expand,
    #watch-description-collapse {display: none !important;}

    }


    And here's something if you want to limit the length of long descriptions. A scrollbar will appear.

    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document domain("youtube.com") {

    #watch-description-clip {position: static !important;}
    #eow-description {max-height: 20em !important; overflow-y: auto !important;}
    #watch-description-extras {display: block !important}

    #watch-description-fadeout,
    #watch-description-expand,
    #watch-description-collapse {display: none !important;}

    }


    Change the number value of "max-height" to whatever you're comfortable with.

    Edit: Better use the pre tag from now on - copying and pasting from < code > into Stylish's editor makes it one line.
  • That was fast! Thanks so much. Works for me, too. Amazing. Thanks!!
  • Cool. Guess I'll upload it to the Userstyle database.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!